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.001278/0.001277, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 239.2 MB, free: 4.586 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.00148/0.00148, allocations: 191.7 kB / 289.5 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03447/0.03447, allocations: 8.795 MB / 348.5 MB, free: 4.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 81.33 kB / 411.1 MB, free: 42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 51.56 MB / 462.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005805/0.1217, allocations: 4.033 MB / 466.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1246, allocations: 1.106 MB / 467.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.1251, allocations: 23.88 kB / 467.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.1256, allocations: 166.7 kB / 468 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000867/0.1265, allocations: 270.4 kB / 468.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.1269, allocations: 175.7 kB / 468.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.1285, allocations: 1.584 MB / 470 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.1303, allocations: 1.495 MB / 471.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.1313, allocations: 0.7477 MB / 472.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.1324, allocations: 0.8794 MB / 473.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.1327, allocations: 188 kB / 473.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.133, allocations: 200 kB / 473.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004689/0.1335, allocations: 0.5143 MB / 474 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009669/0.1345, allocations: 0.8711 MB / 474.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.1366, allocations: 2.427 MB / 477.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1366, allocations: 0 / 477.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1366, allocations: 0 / 477.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.1366, allocations: 0 / 477.3 MB, free: 15.6 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.003423/0.1401, allocations: 1.876 MB / 479.2 MB, free: 13.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1401, allocations: 12.03 kB / 479.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.1405, allocations: 167 kB / 479.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.1422, allocations: 0.9975 MB / 480.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.1422, allocations: 103.1 kB / 480.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.1425, allocations: 140.1 kB / 480.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.1454, allocations: 1.928 MB / 482.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.1455, allocations: 3.938 kB / 482.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1456, allocations: 59.98 kB / 482.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.1456, allocations: 36 kB / 482.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.148, allocations: 1.595 MB / 484.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006699/0.1547, allocations: 4.847 MB / 489 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.1564, allocations: 1.841 MB / 490.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.1574, allocations: 0.6668 MB / 491.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.1575, allocations: 16.62 kB / 491.6 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.1583, allocations: 0.6013 MB / 492.2 MB, free: 228 kB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.205e-06/0.1584, allocations: 0 / 492.2 MB, free: 228 kB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004591/0.1629, allocations: 2.771 MB / 494.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.1631, allocations: 141.2 kB / 495.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.164, allocations: 0.801 MB / 495.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.1641, allocations: 41.7 kB / 495.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.1646, allocations: 0.6197 MB / 496.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.1648, allocations: 256.3 kB / 496.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.165, allocations: 162.5 kB / 496.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1652, allocations: 394.8 kB / 497.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.1658, allocations: 405.7 kB / 497.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.1666, allocations: 0.5918 MB / 498.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.1679, allocations: 0.9972 MB / 499.3 MB, free: 8.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.168, allocations: 7.938 kB / 499.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001896/0.1699, allocations: 1.231 MB / 0.4888 GB, free: 7.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1699, allocations: 12.09 kB / 0.4888 GB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1699, allocations: 4 kB / 0.4888 GB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.1703, allocations: 164.8 kB / 0.489 GB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.171, allocations: 163.7 kB / 0.4892 GB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.1742, allocations: 2.984 MB / 0.4921 GB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.1747, allocations: 47.95 kB / 0.4921 GB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.1748, allocations: 35.94 kB / 0.4921 GB, free: 4.02 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.0009529/0.1758, allocations: 0.5567 MB / 0.4927 GB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1759, allocations: 82.97 kB / 0.4928 GB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.1761, allocations: 112.3 kB / 0.4929 GB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1761, allocations: 8 kB / 0.4929 GB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.1761, allocations: 8.141 kB / 0.4929 GB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1762, allocations: 7.969 kB / 0.4929 GB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.1802, allocations: 2.658 MB / 0.4955 GB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1802, allocations: 7.938 kB / 0.4955 GB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.1807, allocations: 107.9 kB / 0.4956 GB, free: 396 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003522/0.181, allocations: 160.8 kB / 0.4958 GB, free: 232 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.1811, allocations: 23.98 kB / 0.4958 GB, free: 208 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.1842, allocations: 2.94 MB / 0.4987 GB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1842, allocations: 0 / 0.4987 GB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.1867, allocations: 1.731 MB / 0.5003 GB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.1872, allocations: 248.2 kB / 0.5006 GB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.1873, allocations: 27.98 kB / 0.5006 GB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.1877, allocations: 47.89 kB / 0.5007 GB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.1879, allocations: 76.48 kB / 0.5007 GB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.188, allocations: 31.97 kB / 0.5008 GB, free: 10.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007401/0.1887, allocations: 0.5692 MB / 0.5013 GB, free: 10.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1887, allocations: 0 / 0.5013 GB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009707/0.1897, allocations: 264 kB / 0.5016 GB, free: 10.1 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.0002197/0.1899, allocations: 142.6 kB / 0.5017 GB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002601/0.1925, allocations: 1.425 MB / 0.5031 GB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.1926, allocations: 5 kB / 0.5031 GB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.1936, allocations: 0.6814 MB / 0.5038 GB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1947, allocations: 215.3 kB / 0.504 GB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.1994, allocations: 2.858 MB / 0.5068 GB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.2006, allocations: 1.508 MB / 0.5082 GB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005968/0.2012, allocations: 222.5 kB / 0.5084 GB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.2013, allocations: 63.42 kB / 0.5085 GB, free: 2.883 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2014, allocations: 0 / 0.5085 GB, free: 2.883 MB / 350.1 MB Notification: Performance of Templates: time 0.02348/0.2248, allocations: 13.3 MB / 0.5215 GB, free: 5.727 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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)