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.001368/0.001368, allocations: 109.3 kB / 16.51 MB, free: 6.707 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.00133/0.00133, allocations: 190.5 kB / 17.42 MB, free: 6.07 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.768/1.768, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001384/0.001384, allocations: 44.36 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1601, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.009725/0.1699, allocations: 5.937 MB / 331.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006219/0.1762, allocations: 1.636 MB / 333.5 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.1783, allocations: 39.81 kB / 333.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1795, allocations: 242.3 kB / 333.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.1822, allocations: 322.3 kB / 334.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1834, allocations: 307.7 kB / 334.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.1868, allocations: 2.13 MB / 336.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.1898, allocations: 2.244 MB / 338.8 MB, free: 7.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.1915, allocations: 0.9031 MB / 339.7 MB, free: 7.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.1938, allocations: 1.152 MB / 340.8 MB, free: 5.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005558/0.1944, allocations: 208 kB / 341.1 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1955, allocations: 383.6 kB / 341.4 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.1962, allocations: 0.6192 MB / 342 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.1978, allocations: 1.151 MB / 343.2 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.2013, allocations: 3.669 MB / 346.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.2014, allocations: 4 kB / 346.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.2014, allocations: 0 / 346.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001433/0.2015, allocations: 3.938 kB / 346.9 MB, free: 15.82 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.006164/0.2077, allocations: 2.458 MB / 349.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.2078, allocations: 8.031 kB / 349.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006727/0.2085, allocations: 246.1 kB / 349.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.2104, allocations: 1.17 MB / 350.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.2106, allocations: 168.9 kB / 350.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.2109, allocations: 228 kB / 351.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004986/0.2159, allocations: 2.538 MB / 353.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.2159, allocations: 0 / 353.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.2162, allocations: 88 kB / 353.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-05/0.2163, allocations: 59.94 kB / 353.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.2207, allocations: 2.145 MB / 356 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/0.2355, allocations: 7.596 MB / 363.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2368, allocations: 1.247 MB / 364.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.2379, allocations: 0.6219 MB / 365.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.238, allocations: 4.562 kB / 365.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.238, allocations: 43.12 kB / 365.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.815e-06/0.238, allocations: 3.938 kB / 365.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004958/0.243, allocations: 2.439 MB / 367.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2431, allocations: 59.97 kB / 368 MB, free: 10.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.2444, allocations: 0.7894 MB / 368.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-05/0.2445, allocations: 37.7 kB / 368.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007996/0.2453, allocations: 0.9138 MB / 369.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.2456, allocations: 224.7 kB / 369.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.2458, allocations: 150.5 kB / 370.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.246, allocations: 390.8 kB / 370.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.2466, allocations: 361.8 kB / 370.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007791/0.2474, allocations: 0.5829 MB / 371.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.2487, allocations: 0.9893 MB / 372.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2487, allocations: 0 / 372.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002118/0.2509, allocations: 1.147 MB / 373.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.2509, allocations: 11.94 kB / 373.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.2509, allocations: 8 kB / 373.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.2513, allocations: 116.7 kB / 373.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.252, allocations: 171.7 kB / 373.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.2545, allocations: 2.142 MB / 376 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.2552, allocations: 39.97 kB / 376 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/0.2553, allocations: 32 kB / 376.1 MB, free: 1.637 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.00141/0.2567, allocations: 0.6496 MB / 376.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.2569, allocations: 82.97 kB / 376.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.2572, allocations: 103.5 kB / 376.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.2572, allocations: 16 kB / 376.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.2572, allocations: 0 / 376.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.2572, allocations: 3.984 kB / 376.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3095/0.5667, allocations: 2.658 MB / 379.6 MB, free: 51.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.5668, allocations: 2.344 kB / 379.6 MB, free: 51.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/0.5675, allocations: 104.4 kB / 379.7 MB, free: 51.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.5679, allocations: 100.7 kB / 379.8 MB, free: 51.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.568, allocations: 16.81 kB / 379.8 MB, free: 51.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.5702, allocations: 2.082 MB / 381.9 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5702, allocations: 1.906 kB / 381.9 MB, free: 49.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.5732, allocations: 1.414 MB / 383.3 MB, free: 49.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/0.574, allocations: 226 kB / 383.5 MB, free: 48.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.5743, allocations: 25.42 kB / 383.5 MB, free: 48.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.5749, allocations: 46.41 kB / 383.6 MB, free: 48.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.5751, allocations: 45.02 kB / 383.6 MB, free: 48.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.5751, allocations: 18.53 kB / 383.6 MB, free: 48.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001071/0.5762, allocations: 0.5553 MB / 384.2 MB, free: 48.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5762, allocations: 3.938 kB / 384.2 MB, free: 48.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001935/0.5782, allocations: 303.6 kB / 384.5 MB, free: 48.71 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.0003967/0.5786, allocations: 133 kB / 384.6 MB, free: 48.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.5809, allocations: 1.003 MB / 385.6 MB, free: 48.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5809, allocations: 0.75 kB / 385.6 MB, free: 48.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.582, allocations: 0.5564 MB / 386.2 MB, free: 47.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.5833, allocations: 208.4 kB / 386.4 MB, free: 47.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009726/0.593, allocations: 4.149 MB / 390.5 MB, free: 45.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.5951, allocations: 1.723 MB / 392.3 MB, free: 44.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009481/0.5961, allocations: 204.2 kB / 392.5 MB, free: 44.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.5963, allocations: 59.91 kB / 392.5 MB, free: 44.5 MB / 318.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5963, allocations: 1.156 kB / 392.5 MB, free: 44.5 MB / 318.1 MB Notification: Performance of Templates: time 0.02403/0.6204, allocations: 11.73 MB / 404.2 MB, free: 36.96 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)