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.001746/0.001746, allocations: 113.5 kB / 16.63 MB, free: 6.812 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.002381/0.002381, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.683/1.683, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001911/0.001911, allocations: 55.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1397, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.01032/0.1501, allocations: 5.937 MB / 332.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005763/0.156, allocations: 1.624 MB / 333.7 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.1579, allocations: 35.88 kB / 333.7 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.1595, allocations: 246.3 kB / 334 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1622, allocations: 318.2 kB / 334.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1635, allocations: 303.7 kB / 334.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.1669, allocations: 2.005 MB / 336.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/0.1705, allocations: 2.707 MB / 339.3 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.1722, allocations: 1.044 MB / 340.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.1738, allocations: 1.214 MB / 341.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.1742, allocations: 308 kB / 341.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.1749, allocations: 487.6 kB / 342.3 MB, free: 4.469 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.1756, allocations: 0.7325 MB / 343.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.1769, allocations: 1.256 MB / 344.3 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.181, allocations: 3.743 MB / 348.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.181, allocations: 3.938 kB / 348.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.1811, allocations: 0 / 348.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001434/0.1812, allocations: 0 / 348.1 MB, free: 14.71 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006046/0.1873, allocations: 2.462 MB / 350.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.015e-05/0.1874, allocations: 8.031 kB / 350.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.1881, allocations: 242.1 kB / 350.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.1899, allocations: 1.174 MB / 351.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.1901, allocations: 168.9 kB / 352.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.1904, allocations: 224 kB / 352.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004773/0.1952, allocations: 2.538 MB / 354.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.1952, allocations: 0 / 354.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.1954, allocations: 92 kB / 355 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.1955, allocations: 56 kB / 355 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.1991, allocations: 2.137 MB / 357.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.2115, allocations: 7.599 MB / 364.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.213, allocations: 1.259 MB / 366 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.2141, allocations: 0.618 MB / 366.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.2141, allocations: 12.55 kB / 366.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/0.2142, allocations: 39.12 kB / 366.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 3.677e-06/0.2142, allocations: 0 / 366.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.005174/0.2194, allocations: 2.435 MB / 369.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.2195, allocations: 63.95 kB / 369.2 MB, free: 8.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2205, allocations: 0.7894 MB / 370 MB, free: 8.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.2206, allocations: 37.64 kB / 370 MB, free: 8.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006221/0.2212, allocations: 0.9138 MB / 370.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.2214, allocations: 228.7 kB / 371.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.2217, allocations: 146.5 kB / 371.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.2219, allocations: 394.7 kB / 371.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.2224, allocations: 365.8 kB / 372 MB, free: 6.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.2232, allocations: 0.5829 MB / 372.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.2245, allocations: 0.9893 MB / 373.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2245, allocations: 4 kB / 373.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001994/0.2265, allocations: 1.147 MB / 374.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.2266, allocations: 11.94 kB / 374.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.2266, allocations: 7.938 kB / 374.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.227, allocations: 117 kB / 374.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.2277, allocations: 171.7 kB / 375 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.2304, allocations: 2.329 MB / 377.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.2309, allocations: 35.97 kB / 377.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.231, allocations: 32 kB / 377.4 MB, free: 336 kB / 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.2674/0.4984, allocations: 0.6498 MB / 378.1 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/0.4989, allocations: 88.84 kB / 378.2 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.4992, allocations: 95.2 kB / 378.3 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/0.4993, allocations: 8.906 kB / 378.3 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.4993, allocations: 3.406 kB / 378.3 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4993, allocations: 5.062 kB / 378.3 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00655/0.5059, allocations: 2.673 MB / 381 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.5059, allocations: 1.219 kB / 381 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.5064, allocations: 103.2 kB / 381.1 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.5067, allocations: 101.3 kB / 381.2 MB, free: 50.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.5068, allocations: 17.25 kB / 381.2 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.5091, allocations: 2.27 MB / 383.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5091, allocations: 4.719 kB / 383.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.5117, allocations: 1.425 MB / 384.9 MB, free: 48.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/0.5122, allocations: 221 kB / 385.1 MB, free: 47.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.5123, allocations: 18.38 kB / 385.1 MB, free: 47.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.5128, allocations: 42.17 kB / 385.2 MB, free: 47.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.513, allocations: 49.41 kB / 385.2 MB, free: 47.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.5131, allocations: 20.02 kB / 385.2 MB, free: 47.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.5142, allocations: 0.5623 MB / 385.8 MB, free: 47.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5142, allocations: 1.438 kB / 385.8 MB, free: 47.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001823/0.516, allocations: 299.3 kB / 386.1 MB, free: 47.61 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.000406/0.5164, allocations: 131.9 kB / 386.2 MB, free: 47.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003111/0.5195, allocations: 1.144 MB / 387.4 MB, free: 47.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.5196, allocations: 1.406 kB / 387.4 MB, free: 47.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.5207, allocations: 0.5594 MB / 387.9 MB, free: 46.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.5222, allocations: 220 kB / 388.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/0.5301, allocations: 4.152 MB / 392.3 MB, free: 44.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/0.5321, allocations: 1.72 MB / 394 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.5332, allocations: 206.5 kB / 394.2 MB, free: 43.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5335, allocations: 61.73 kB / 394.3 MB, free: 43.36 MB / 318.1 MB Notification: Performance of SimCode: time 2.374e-06/0.5335, allocations: 0 / 394.3 MB, free: 43.36 MB / 318.1 MB Notification: Performance of Templates: time 0.0283/0.5618, allocations: 12.15 MB / 406.4 MB, free: 34.78 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)