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.001138/0.001138, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.398/1.398, allocations: 222.9 MB / 240 MB, free: 4.508 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.001436/0.001435, allocations: 188.5 kB / 290.3 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03534/0.03534, allocations: 8.789 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 83.17 kB / 412.5 MB, free: 41.72 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1096, allocations: 51.56 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.006394/0.116, allocations: 4.019 MB / 468.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1187, allocations: 1.11 MB / 469.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.1195, allocations: 23.88 kB / 469.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.12, allocations: 162.7 kB / 469.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.1213, allocations: 274.5 kB / 469.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.1218, allocations: 175.7 kB / 469.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.1238, allocations: 1.584 MB / 471.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.1254, allocations: 1.502 MB / 472.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1266, allocations: 0.7594 MB / 473.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.1279, allocations: 0.8756 MB / 474.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.1281, allocations: 192 kB / 474.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.1285, allocations: 196 kB / 474.9 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.129, allocations: 0.522 MB / 475.5 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.13, allocations: 0.8634 MB / 476.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.1325, allocations: 2.453 MB / 478.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1326, allocations: 0 / 478.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.1326, allocations: 0 / 478.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.319e-05/0.1327, allocations: 4 kB / 478.8 MB, free: 14.74 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.005118/0.1378, allocations: 1.872 MB / 480.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.186e-05/0.1379, allocations: 8.031 kB / 480.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005549/0.1384, allocations: 174.9 kB / 480.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.1405, allocations: 1.021 MB / 481.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.1406, allocations: 103.1 kB / 482 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.1408, allocations: 156 kB / 482.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.1442, allocations: 1.928 MB / 484 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.1443, allocations: 4 kB / 484 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.1444, allocations: 59.98 kB / 484.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.1444, allocations: 36 kB / 484.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.147, allocations: 1.592 MB / 485.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007959/0.155, allocations: 4.785 MB / 490.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.1567, allocations: 1.833 MB / 492.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.1578, allocations: 0.6668 MB / 493 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.1578, allocations: 12.64 kB / 493 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009006/0.1587, allocations: 0.5984 MB / 493.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=74): time 2.305e-06/0.1588, allocations: 0 / 493.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=78): time 0.004782/0.1635, allocations: 2.775 MB / 496.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.1637, allocations: 145.2 kB / 496.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.1647, allocations: 0.7971 MB / 497.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.1648, allocations: 41.7 kB / 497.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/0.1653, allocations: 0.6159 MB / 498 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.1656, allocations: 264.3 kB / 498.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.1658, allocations: 154.6 kB / 498.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.166, allocations: 394.8 kB / 498.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.1666, allocations: 405.7 kB / 499.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.1673, allocations: 0.5996 MB / 499.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1687, allocations: 0.9895 MB / 0.489 GB, free: 7.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1687, allocations: 0 / 0.489 GB, free: 7.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001955/0.1707, allocations: 1.239 MB / 0.4902 GB, free: 6.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.1707, allocations: 11.98 kB / 0.4903 GB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1707, allocations: 4 kB / 0.4903 GB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.1711, allocations: 170.8 kB / 0.4904 GB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.1718, allocations: 167.8 kB / 0.4906 GB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.1752, allocations: 2.983 MB / 0.4935 GB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.1758, allocations: 52.02 kB / 0.4935 GB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.1758, allocations: 32 kB / 0.4936 GB, free: 3.184 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.0009434/0.1768, allocations: 0.5602 MB / 0.4941 GB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1769, allocations: 82.97 kB / 0.4942 GB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.1771, allocations: 108.3 kB / 0.4943 GB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1771, allocations: 11.98 kB / 0.4943 GB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.1772, allocations: 4 kB / 0.4943 GB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.1772, allocations: 7.984 kB / 0.4943 GB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/0.1812, allocations: 2.639 MB / 0.4969 GB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1813, allocations: 3.938 kB / 0.4969 GB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.1817, allocations: 115.9 kB / 0.497 GB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.1821, allocations: 156.7 kB / 0.4972 GB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.1821, allocations: 31.98 kB / 0.4972 GB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/0.1851, allocations: 2.929 MB / 0.5001 GB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1851, allocations: 7.969 kB / 0.5001 GB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.1874, allocations: 1.728 MB / 0.5018 GB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.1879, allocations: 244.2 kB / 0.502 GB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.188, allocations: 27.98 kB / 0.502 GB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.1884, allocations: 52.08 kB / 0.5021 GB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.1886, allocations: 80.42 kB / 0.5021 GB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.1887, allocations: 23.98 kB / 0.5022 GB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006779/0.1893, allocations: 0.5692 MB / 0.5027 GB, free: 9.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1894, allocations: 0 / 0.5027 GB, free: 9.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009347/0.1903, allocations: 268 kB / 0.503 GB, free: 9.277 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.0001812/0.1905, allocations: 133.5 kB / 0.5031 GB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.1923, allocations: 1.14 MB / 0.5042 GB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1923, allocations: 1 kB / 0.5042 GB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.1934, allocations: 0.6855 MB / 0.5049 GB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.1943, allocations: 220.8 kB / 0.5051 GB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.1989, allocations: 2.829 MB / 0.5079 GB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.2002, allocations: 1.501 MB / 0.5093 GB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006148/0.2008, allocations: 230.5 kB / 0.5095 GB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.201, allocations: 67.36 kB / 0.5096 GB, free: 2.375 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.201, allocations: 0 / 0.5096 GB, free: 2.375 MB / 350.1 MB Notification: Performance of Templates: time 0.02632/0.2273, allocations: 13.29 MB / 0.5226 GB, free: 5.227 MB / 366.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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)