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.001182/0.001182, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.415/1.415, allocations: 223.2 MB / 239 MB, free: 5.5 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.001129/0.001129, allocations: 183.6 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03192/0.03192, allocations: 8.79 MB / 350.1 MB, free: 4.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004173, allocations: 10.69 kB / 413.1 MB, free: 43.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1135, allocations: 52.56 MB / 465.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004089/0.1176, allocations: 3.302 MB / 469 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1197, allocations: 1.079 MB / 470 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.12, allocations: 27.81 kB / 470.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.1203, allocations: 131.3 kB / 470.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006521/0.121, allocations: 207.3 kB / 470.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1213, allocations: 123.7 kB / 470.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1223, allocations: 0.9549 MB / 471.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.1235, allocations: 1.07 MB / 472.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000628/0.1241, allocations: 498.2 kB / 473 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007507/0.1249, allocations: 0.5835 MB / 473.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.125, allocations: 80 kB / 473.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.1252, allocations: 91.92 kB / 473.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.1255, allocations: 362.9 kB / 474.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.1258, allocations: 312.9 kB / 474.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.1274, allocations: 1.94 MB / 476.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1274, allocations: 0 / 476.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1274, allocations: 0 / 476.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.1274, allocations: 0 / 476.4 MB, free: 2.828 MB / 302.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.002925/0.1304, allocations: 1.626 MB / 478 MB, free: 1.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1304, allocations: 8.031 kB / 478 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.1308, allocations: 178 kB / 478.2 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.1324, allocations: 0.9578 MB / 479.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.1325, allocations: 106.8 kB / 479.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.1328, allocations: 136 kB / 479.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.1363, allocations: 1.92 MB / 481.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.1363, allocations: 4 kB / 481.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.1365, allocations: 59.98 kB / 481.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.1365, allocations: 35.95 kB / 481.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.1394, allocations: 1.599 MB / 483 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008004/0.1474, allocations: 4.89 MB / 487.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.1493, allocations: 1.838 MB / 489.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.1494, allocations: 12.64 kB / 489.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009843/0.1504, allocations: 0.614 MB / 490.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.444e-06/0.1504, allocations: 3.938 kB / 490.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004672/0.1551, allocations: 2.807 MB / 493.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.1552, allocations: 137.2 kB / 493.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.1561, allocations: 0.7932 MB / 494.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.1562, allocations: 45.69 kB / 494.1 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.1567, allocations: 0.6159 MB / 494.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.1569, allocations: 260.2 kB / 495 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.157, allocations: 16 kB / 495 MB, free: 15.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1571, allocations: 398.7 kB / 495.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/0.1578, allocations: 413.7 kB / 495.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007668/0.1585, allocations: 0.5996 MB / 496.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.1593, allocations: 0.4911 MB / 496.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1593, allocations: 0 / 496.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001992/0.1613, allocations: 1.254 MB / 498.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.1614, allocations: 4 kB / 498.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.1614, allocations: 8 kB / 498.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.1618, allocations: 164.7 kB / 498.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.1624, allocations: 163.8 kB / 498.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.1656, allocations: 2.799 MB / 0.4895 GB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.1662, allocations: 60.02 kB / 0.4896 GB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.1663, allocations: 28 kB / 0.4896 GB, free: 8.984 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,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.1675, allocations: 0.5529 MB / 0.4902 GB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.1677, allocations: 79.06 kB / 0.4902 GB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.1679, allocations: 112.3 kB / 0.4903 GB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.168, allocations: 11.94 kB / 0.4904 GB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/0.168, allocations: 4 kB / 0.4904 GB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.168, allocations: 7.938 kB / 0.4904 GB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/0.1731, allocations: 2.656 MB / 0.493 GB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.1731, allocations: 4 kB / 0.493 GB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.1737, allocations: 115.9 kB / 0.4931 GB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.1741, allocations: 168.7 kB / 0.4932 GB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.1742, allocations: 23.98 kB / 0.4933 GB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003346/0.1776, allocations: 2.754 MB / 0.496 GB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1776, allocations: 0 / 0.496 GB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.1806, allocations: 1.805 MB / 0.4977 GB, free: 440 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/0.1813, allocations: 260 kB / 0.498 GB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.1816, allocations: 31.98 kB / 0.498 GB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000539/0.1821, allocations: 51.95 kB / 0.498 GB, free: 76 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.1823, allocations: 72.48 kB / 0.4981 GB, free: 4 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.1824, allocations: 24.06 kB / 0.4981 GB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000941/0.1834, allocations: 0.5653 MB / 0.4987 GB, free: 15.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.1834, allocations: 0 / 0.4987 GB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001183/0.1846, allocations: 267.9 kB / 0.4989 GB, free: 15.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/0.1848, allocations: 143.5 kB / 0.4991 GB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.1869, allocations: 1.152 MB / 0.5002 GB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.1869, allocations: 0 / 0.5002 GB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.188, allocations: 0.6938 MB / 0.5009 GB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.189, allocations: 191 kB / 0.5011 GB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.1946, allocations: 3.383 MB / 0.5044 GB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.196, allocations: 1.536 MB / 0.5059 GB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007264/0.1968, allocations: 222.5 kB / 0.5061 GB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.197, allocations: 55.44 kB / 0.5061 GB, free: 7.684 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.197, allocations: 0 / 0.5061 GB, free: 7.684 MB / 350.1 MB Notification: Performance of Templates: time 0.02418/0.2212, allocations: 12.08 MB / 0.5179 GB, free: 11.75 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: