Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006265/0.006265, allocations: 99.56 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 239.4 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001197, allocations: 176.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03292/0.03292, allocations: 8.791 MB / 348.7 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 79.88 kB / 463.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.0869, allocations: 51.57 MB / 0.5034 GB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004612/0.09155, allocations: 4.031 MB / 0.5073 GB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.09311, allocations: 1.102 MB / 0.5084 GB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.09334, allocations: 27.88 kB / 0.5084 GB, free: 4.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.09364, allocations: 162.7 kB / 0.5086 GB, free: 4.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006539/0.0943, allocations: 278.4 kB / 0.5088 GB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.0946, allocations: 163.8 kB / 0.509 GB, free: 3.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.09582, allocations: 1.599 MB / 0.5106 GB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.0971, allocations: 1.502 MB / 0.512 GB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.09768, allocations: 0.7438 MB / 0.5128 GB, free: 15.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009/0.09859, allocations: 0.8833 MB / 0.5136 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000211/0.09881, allocations: 192 kB / 0.5138 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.09911, allocations: 192 kB / 0.514 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.09951, allocations: 0.5221 MB / 0.5145 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007101/0.1002, allocations: 0.8633 MB / 0.5153 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.1021, allocations: 2.464 MB / 0.5177 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1021, allocations: 0 / 0.5177 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1021, allocations: 0 / 0.5177 GB, free: 10.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.1021, allocations: 0 / 0.5177 GB, free: 10.69 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002752/0.1049, allocations: 1.917 MB / 0.5196 GB, free: 8.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1049, allocations: 12.03 kB / 0.5196 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.1052, allocations: 175.9 kB / 0.5198 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1064, allocations: 1.022 MB / 0.5208 GB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.1065, allocations: 115.1 kB / 0.5209 GB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.1067, allocations: 144.1 kB / 0.521 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.1093, allocations: 1.928 MB / 0.5229 GB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1093, allocations: 4 kB / 0.5229 GB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.1094, allocations: 59.98 kB / 0.523 GB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.1095, allocations: 32 kB / 0.523 GB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.1117, allocations: 1.592 MB / 0.5246 GB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/0.2897, allocations: 4.785 MB / 0.5292 GB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.2909, allocations: 1.837 MB / 0.531 GB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009632/0.2919, allocations: 0.6602 MB / 0.5317 GB, free: 20.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.292, allocations: 8.594 kB / 0.5317 GB, free: 20.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008497/0.2928, allocations: 0.6045 MB / 0.5323 GB, free: 20.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.404e-06/0.2929, allocations: 3.781 kB / 0.5323 GB, free: 20.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.004178/0.297, allocations: 2.791 MB / 0.535 GB, free: 20.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2971, allocations: 143.5 kB / 0.5351 GB, free: 20.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.298, allocations: 0.7985 MB / 0.5359 GB, free: 20.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.298, allocations: 42.8 kB / 0.536 GB, free: 20.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.2984, allocations: 0.6334 MB / 0.5366 GB, free: 19.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.2986, allocations: 282.2 kB / 0.5369 GB, free: 19.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.2988, allocations: 147.2 kB / 0.537 GB, free: 19.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.299, allocations: 398.2 kB / 0.5374 GB, free: 19.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.2996, allocations: 408.7 kB / 0.5378 GB, free: 19.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.3003, allocations: 0.5939 MB / 0.5383 GB, free: 19.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3015, allocations: 0.9907 MB / 0.5393 GB, free: 19.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3015, allocations: 9.406 kB / 0.5393 GB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001772/0.3033, allocations: 1.24 MB / 0.5405 GB, free: 18.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3033, allocations: 12.53 kB / 0.5405 GB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3033, allocations: 8.281 kB / 0.5406 GB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.3037, allocations: 173.2 kB / 0.5407 GB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.3043, allocations: 154.8 kB / 0.5409 GB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/0.307, allocations: 2.992 MB / 0.5438 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.3075, allocations: 53.14 kB / 0.5438 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.3076, allocations: 26.19 kB / 0.5439 GB, free: 17.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008792/0.3084, allocations: 0.5587 MB / 0.5444 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.3086, allocations: 90.03 kB / 0.5445 GB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.3088, allocations: 106.4 kB / 0.5446 GB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3088, allocations: 11.66 kB / 0.5446 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.3088, allocations: 3.031 kB / 0.5446 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3089, allocations: 4.797 kB / 0.5446 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.3132, allocations: 2.652 MB / 0.5472 GB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3133, allocations: 1.188 kB / 0.5472 GB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.3137, allocations: 116.8 kB / 0.5473 GB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/0.3141, allocations: 158.8 kB / 0.5475 GB, free: 16.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.3142, allocations: 26.62 kB / 0.5475 GB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.3167, allocations: 2.935 MB / 0.5504 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3167, allocations: 1.156 kB / 0.5504 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.3191, allocations: 1.74 MB / 0.5521 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.3194, allocations: 253 kB / 0.5523 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3195, allocations: 39.86 kB / 0.5523 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.3199, allocations: 40.55 kB / 0.5524 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.3201, allocations: 76.66 kB / 0.5525 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.3201, allocations: 26 kB / 0.5525 GB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006254/0.3208, allocations: 0.5698 MB / 0.553 GB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3208, allocations: 0 / 0.553 GB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009409/0.3217, allocations: 263.9 kB / 0.5533 GB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.3219, allocations: 133.5 kB / 0.5534 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3235, allocations: 1.153 MB / 0.5545 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3235, allocations: 1.031 kB / 0.5545 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.3244, allocations: 0.6842 MB / 0.5552 GB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/0.3253, allocations: 214.7 kB / 0.5554 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.329, allocations: 2.863 MB / 0.5582 GB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.3297, allocations: 1.499 MB / 0.5597 GB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004338/0.3302, allocations: 239.4 kB / 0.5599 GB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3303, allocations: 54.88 kB / 0.56 GB, free: 8.996 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3303, allocations: 0 / 0.56 GB, free: 8.996 MB / 366.1 MB Notification: Performance of Templates: time 0.01716/0.3475, allocations: 13.53 MB / 0.5732 GB, free: 13.93 MB / 382.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)