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.0008848/0.000885, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.414/1.414, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001364/0.001364, allocations: 175.9 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03318/0.03318, allocations: 8.805 MB / 350.5 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003498, allocations: 11 kB / 413.8 MB, free: 42.78 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.0997, allocations: 52.56 MB / 466.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004175/0.1039, allocations: 3.645 MB / 470 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1057, allocations: 1.075 MB / 471.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.106, allocations: 23.88 kB / 471.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1063, allocations: 131.1 kB / 471.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.107, allocations: 254.8 kB / 471.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1072, allocations: 147.8 kB / 471.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.1088, allocations: 1.779 MB / 473.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.1102, allocations: 1.289 MB / 474.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.1108, allocations: 0.5251 MB / 475.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008011/0.1116, allocations: 0.7155 MB / 475.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1117, allocations: 80 kB / 476 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1119, allocations: 84 kB / 476.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.1122, allocations: 390.6 kB / 476.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006501/0.1129, allocations: 0.7283 MB / 477.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.1146, allocations: 2.277 MB / 479.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1147, allocations: 4 kB / 479.5 MB, free: 15.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1147, allocations: 0 / 479.5 MB, free: 15.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.1147, allocations: 0 / 479.5 MB, free: 15.9 MB / 318.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.002747/0.1175, allocations: 1.605 MB / 481.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1175, allocations: 12.03 kB / 481.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.1179, allocations: 178.8 kB / 481.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1191, allocations: 0.9858 MB / 482.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/0.1192, allocations: 107.1 kB / 482.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.1195, allocations: 144.1 kB / 482.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.1224, allocations: 1.94 MB / 484.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.1225, allocations: 4 kB / 484.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.1226, allocations: 56 kB / 484.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.1227, allocations: 35.98 kB / 484.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.1251, allocations: 1.619 MB / 486.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007007/0.1321, allocations: 4.89 MB / 491.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.1338, allocations: 1.849 MB / 492.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.1349, allocations: 0.6747 MB / 493.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.135, allocations: 8.656 kB / 493.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008852/0.1358, allocations: 0.6023 MB / 494.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.214e-06/0.1359, allocations: 0 / 494.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004951/0.1408, allocations: 2.826 MB / 497 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.1409, allocations: 137.2 kB / 497.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.1419, allocations: 0.8087 MB / 498 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.142, allocations: 45.7 kB / 498 MB, free: 12.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.1424, allocations: 0.6121 MB / 498.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.1426, allocations: 264.3 kB / 498.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1428, allocations: 77.67 kB / 499 MB, free: 11.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1429, allocations: 394.8 kB / 499.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.1436, allocations: 417.7 kB / 499.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007661/0.1444, allocations: 0.6074 MB / 0.4886 GB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.1457, allocations: 1.009 MB / 0.4896 GB, free: 9.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1457, allocations: 4 kB / 0.4896 GB, free: 9.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001867/0.1476, allocations: 1.262 MB / 0.4908 GB, free: 7.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.1476, allocations: 4 kB / 0.4909 GB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1477, allocations: 7.938 kB / 0.4909 GB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/0.148, allocations: 168.7 kB / 0.491 GB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.1487, allocations: 167.8 kB / 0.4912 GB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.1516, allocations: 2.743 MB / 0.4939 GB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.152, allocations: 56.02 kB / 0.4939 GB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.1521, allocations: 32 kB / 0.4939 GB, free: 4.68 MB / 334.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.0007315/0.1528, allocations: 0.5454 MB / 0.4945 GB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.153, allocations: 90.94 kB / 0.4946 GB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.1532, allocations: 112.2 kB / 0.4947 GB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.1532, allocations: 8 kB / 0.4947 GB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.1532, allocations: 4 kB / 0.4947 GB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1532, allocations: 3.984 kB / 0.4947 GB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.1571, allocations: 2.677 MB / 0.4973 GB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1571, allocations: 0 / 0.4973 GB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.1576, allocations: 123.9 kB / 0.4974 GB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.1579, allocations: 158.7 kB / 0.4976 GB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.158, allocations: 31.92 kB / 0.4976 GB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.1608, allocations: 2.692 MB / 0.5002 GB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1608, allocations: 0 / 0.5002 GB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.1633, allocations: 1.762 MB / 0.5019 GB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.1636, allocations: 256 kB / 0.5022 GB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.1637, allocations: 27.98 kB / 0.5022 GB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.1642, allocations: 47.97 kB / 0.5023 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.1643, allocations: 68.55 kB / 0.5023 GB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.1644, allocations: 23.98 kB / 0.5024 GB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006824/0.1651, allocations: 0.5732 MB / 0.5029 GB, free: 11.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1651, allocations: 0 / 0.5029 GB, free: 11.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008407/0.1659, allocations: 264 kB / 0.5032 GB, free: 10.96 MB / 350.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.000206/0.1661, allocations: 136.1 kB / 0.5033 GB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.1681, allocations: 1.16 MB / 0.5044 GB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1681, allocations: 0 / 0.5044 GB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.1692, allocations: 0.6939 MB / 0.5051 GB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1703, allocations: 206.2 kB / 0.5053 GB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.1757, allocations: 3.531 MB / 0.5087 GB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.1771, allocations: 1.509 MB / 0.5102 GB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005892/0.1777, allocations: 218.5 kB / 0.5104 GB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.1779, allocations: 59.42 kB / 0.5105 GB, free: 3.352 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1779, allocations: 0 / 0.5105 GB, free: 3.352 MB / 350.1 MB Notification: Performance of Templates: time 0.0222/0.2001, allocations: 12.46 MB / 0.5227 GB, free: 7.027 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: