Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 93.86 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 173.2 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005195, allocations: 8.422 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007444/0.1558, allocations: 5.45 MB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.1612, allocations: 1.625 MB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1624, allocations: 35.81 kB / 335.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.1632, allocations: 246.3 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.1649, allocations: 318.3 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.166, allocations: 303.7 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00308/0.1691, allocations: 2.118 MB / 338.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003184/0.1723, allocations: 2.22 MB / 340.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.1741, allocations: 0.7235 MB / 341.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.1759, allocations: 0.9175 MB / 342.3 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.1761, allocations: 128 kB / 342.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.1769, allocations: 295.6 kB / 342.7 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006027/0.1775, allocations: 0.4982 MB / 343.2 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.1791, allocations: 1.024 MB / 344.2 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.1831, allocations: 3.535 MB / 347.7 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1831, allocations: 0 / 347.7 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1831, allocations: 4 kB / 347.7 MB, free: 200 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.068e-05/0.1832, allocations: 0 / 347.7 MB, free: 200 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004684/0.1879, allocations: 2.068 MB / 349.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.285e-05/0.188, allocations: 12.03 kB / 349.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.1887, allocations: 238.2 kB / 350 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.1906, allocations: 1.185 MB / 351.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.1907, allocations: 168.9 kB / 351.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.191, allocations: 220.1 kB / 351.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.1962, allocations: 2.545 MB / 354.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.1962, allocations: 3.938 kB / 354.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.1964, allocations: 92 kB / 354.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.374e-05/0.1965, allocations: 56 kB / 354.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.2005, allocations: 2.145 MB / 356.4 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.2143, allocations: 7.65 MB / 364.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.216, allocations: 1.255 MB / 365.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.2171, allocations: 0.6219 MB / 366 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.2172, allocations: 4.562 kB / 366 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/0.2172, allocations: 47.11 kB / 366 MB, free: 13.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 5.962e-06/0.2172, allocations: 0 / 366 MB, free: 13.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004911/0.2222, allocations: 2.47 MB / 368.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.2223, allocations: 59.97 kB / 368.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2235, allocations: 0.7971 MB / 369.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.2236, allocations: 37.7 kB / 369.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007809/0.2244, allocations: 0.9138 MB / 370.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.2246, allocations: 220.8 kB / 370.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2247, allocations: 69.69 kB / 370.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.2249, allocations: 390.7 kB / 371 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.2255, allocations: 377.8 kB / 371.3 MB, free: 7.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/0.2263, allocations: 0.5868 MB / 371.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.2277, allocations: 0.9971 MB / 372.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2277, allocations: 7.938 kB / 372.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002012/0.2298, allocations: 1.159 MB / 374.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.2298, allocations: 14.59 kB / 374.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.2298, allocations: 8.219 kB / 374.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003876/0.2302, allocations: 112.7 kB / 374.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.2309, allocations: 175.7 kB / 374.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.234, allocations: 2.142 MB / 376.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.2347, allocations: 43.97 kB / 376.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.2348, allocations: 35.98 kB / 376.6 MB, free: 2.309 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00138/0.2362, allocations: 0.6457 MB / 377.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.2364, allocations: 83 kB / 377.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.2367, allocations: 103.6 kB / 377.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/0.2367, allocations: 11.94 kB / 377.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/0.2367, allocations: 3.984 kB / 377.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2368, allocations: 3.984 kB / 377.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3103/0.547, allocations: 2.686 MB / 380.1 MB, free: 49.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.5471, allocations: 1.375 kB / 380.1 MB, free: 49.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.5477, allocations: 110.9 kB / 380.3 MB, free: 49.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003408/0.548, allocations: 97.86 kB / 380.4 MB, free: 49.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.5481, allocations: 15.36 kB / 380.4 MB, free: 49.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.5504, allocations: 2.077 MB / 382.4 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5504, allocations: 5.812 kB / 382.4 MB, free: 48.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.5527, allocations: 1.433 MB / 383.9 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.5532, allocations: 231 kB / 384.1 MB, free: 48.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/0.5533, allocations: 14.53 kB / 384.1 MB, free: 48.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.5537, allocations: 47.25 kB / 384.2 MB, free: 48.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5539, allocations: 59.08 kB / 384.2 MB, free: 48.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.5539, allocations: 20.03 kB / 384.2 MB, free: 48.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008816/0.5548, allocations: 0.5546 MB / 384.8 MB, free: 47.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5548, allocations: 3.609 kB / 384.8 MB, free: 47.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001348/0.5562, allocations: 301.7 kB / 385.1 MB, free: 47.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/0.5564, allocations: 130.1 kB / 385.2 MB, free: 47.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.5583, allocations: 1.022 MB / 386.2 MB, free: 47.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5583, allocations: 2.625 kB / 386.2 MB, free: 47.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.5592, allocations: 0.5679 MB / 386.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.5604, allocations: 202.8 kB / 387 MB, free: 46.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.5661, allocations: 4.208 MB / 391.2 MB, free: 44.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.5674, allocations: 1.719 MB / 392.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006543/0.5681, allocations: 207.2 kB / 393.1 MB, free: 43.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5683, allocations: 66.72 kB / 393.2 MB, free: 43.55 MB / 318.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5683, allocations: 0 / 393.2 MB, free: 43.55 MB / 318.1 MB Notification: Performance of Templates: time 0.01928/0.5876, allocations: 11.59 MB / 404.8 MB, free: 36.66 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)