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.006431/0.006431, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.485/1.485, allocations: 222.9 MB / 239.4 MB, free: 4.574 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.001421/0.001421, allocations: 191.5 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03527/0.03527, allocations: 8.785 MB / 348.6 MB, free: 4.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 83.88 kB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 51.57 MB / 0.5034 GB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005452/0.1107, allocations: 4.031 MB / 0.5073 GB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1129, allocations: 1.098 MB / 0.5084 GB, free: 4.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.1134, allocations: 27.88 kB / 0.5084 GB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.1139, allocations: 170.7 kB / 0.5086 GB, free: 4.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.115, allocations: 278.5 kB / 0.5089 GB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1155, allocations: 171.7 kB / 0.509 GB, free: 3.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.1171, allocations: 1.588 MB / 0.5106 GB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.1187, allocations: 1.51 MB / 0.512 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.1196, allocations: 0.7516 MB / 0.5128 GB, free: 15.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1208, allocations: 0.8755 MB / 0.5136 GB, free: 14.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.1211, allocations: 188 kB / 0.5138 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.1214, allocations: 207.9 kB / 0.514 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.1218, allocations: 0.5104 MB / 0.5145 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007885/0.1226, allocations: 0.8711 MB / 0.5154 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.1244, allocations: 2.453 MB / 0.5178 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1244, allocations: 0 / 0.5178 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1244, allocations: 0 / 0.5178 GB, free: 10.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.1244, allocations: 0 / 0.5178 GB, free: 10.74 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.002772/0.1272, allocations: 1.876 MB / 0.5196 GB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1272, allocations: 8.031 kB / 0.5196 GB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.1276, allocations: 167 kB / 0.5198 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.1289, allocations: 1.021 MB / 0.5207 GB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.129, allocations: 115.1 kB / 0.5209 GB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.1292, allocations: 144 kB / 0.521 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.1318, allocations: 1.928 MB / 0.5229 GB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.1318, allocations: 0 / 0.5229 GB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.1319, allocations: 60 kB / 0.5229 GB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.132, allocations: 36 kB / 0.523 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.1342, allocations: 1.592 MB / 0.5245 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2444/0.3786, allocations: 4.775 MB / 0.5292 GB, free: 22.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.3802, allocations: 1.834 MB / 0.531 GB, free: 21.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.3812, allocations: 0.6626 MB / 0.5316 GB, free: 21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.3813, allocations: 9.344 kB / 0.5316 GB, free: 21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009834/0.3823, allocations: 0.6053 MB / 0.5322 GB, free: 20.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.605e-06/0.3823, allocations: 0 / 0.5322 GB, free: 20.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.004695/0.387, allocations: 2.766 MB / 0.5349 GB, free: 20.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.3871, allocations: 143.7 kB / 0.5351 GB, free: 20.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3882, allocations: 0.8056 MB / 0.5358 GB, free: 20.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.3883, allocations: 43.23 kB / 0.5359 GB, free: 20.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/0.3888, allocations: 0.6104 MB / 0.5365 GB, free: 19.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.389, allocations: 268.2 kB / 0.5367 GB, free: 19.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.3893, allocations: 148.9 kB / 0.5369 GB, free: 19.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3895, allocations: 397.3 kB / 0.5373 GB, free: 19.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.3902, allocations: 408.8 kB / 0.5377 GB, free: 19.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.391, allocations: 0.5972 MB / 0.5382 GB, free: 19.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.3926, allocations: 0.9911 MB / 0.5392 GB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3926, allocations: 6.25 kB / 0.5392 GB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002064/0.3947, allocations: 1.233 MB / 0.5404 GB, free: 18.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3947, allocations: 11.31 kB / 0.5404 GB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3947, allocations: 13.25 kB / 0.5404 GB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/0.3951, allocations: 169.1 kB / 0.5406 GB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.3958, allocations: 158.2 kB / 0.5407 GB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.3989, allocations: 2.99 MB / 0.5437 GB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.3995, allocations: 52.09 kB / 0.5437 GB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.3996, allocations: 27.09 kB / 0.5437 GB, free: 17.38 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.000948/0.4005, allocations: 0.5574 MB / 0.5443 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.4006, allocations: 85.31 kB / 0.5444 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.4008, allocations: 111.8 kB / 0.5445 GB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4008, allocations: 11 kB / 0.5445 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/0.4009, allocations: 3.938 kB / 0.5445 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4009, allocations: 5.672 kB / 0.5445 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.4054, allocations: 2.637 MB / 0.5471 GB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.4055, allocations: 1.094 kB / 0.5471 GB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.406, allocations: 123.2 kB / 0.5472 GB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/0.4064, allocations: 165.8 kB / 0.5473 GB, free: 16.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.4065, allocations: 27.08 kB / 0.5474 GB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/0.4095, allocations: 2.938 MB / 0.5502 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4095, allocations: 2.422 kB / 0.5502 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.4121, allocations: 1.722 MB / 0.5519 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.4125, allocations: 256.8 kB / 0.5522 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4126, allocations: 27.2 kB / 0.5522 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.413, allocations: 48.03 kB / 0.5522 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.4132, allocations: 74.92 kB / 0.5523 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.4133, allocations: 27.8 kB / 0.5523 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008213/0.4141, allocations: 0.5652 MB / 0.5529 GB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4141, allocations: 0 / 0.5529 GB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001328/0.4155, allocations: 263.5 kB / 0.5531 GB, free: 12.91 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.0001716/0.4156, allocations: 133.9 kB / 0.5533 GB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4174, allocations: 1.15 MB / 0.5544 GB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4174, allocations: 1.531 kB / 0.5544 GB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009485/0.4184, allocations: 0.6813 MB / 0.5551 GB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.4193, allocations: 222 kB / 0.5553 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.4241, allocations: 2.817 MB / 0.558 GB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/0.425, allocations: 1.507 MB / 0.5595 GB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006543/0.4257, allocations: 226.9 kB / 0.5597 GB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.4259, allocations: 63.39 kB / 0.5598 GB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4259, allocations: 1.5 kB / 0.5598 GB, free: 9.047 MB / 366.1 MB Notification: Performance of Templates: time 0.0196/0.4455, allocations: 13.52 MB / 0.573 GB, free: 14.08 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)