Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.008406/0.008406, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001502/0.001502, allocations: 197 kB / 16.68 MB, free: 5.926 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.764/1.764, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.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.001427/0.001427, allocations: 49.09 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1526, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.009223/0.1619, allocations: 5.942 MB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.1682, allocations: 1.687 MB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.1701, allocations: 39.81 kB / 380.8 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.1713, allocations: 301.5 kB / 381.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.1733, allocations: 369.5 kB / 381.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1744, allocations: 359.5 kB / 381.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.177, allocations: 2.024 MB / 383.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.1804, allocations: 2.691 MB / 386.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.1824, allocations: 1.04 MB / 387.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.1846, allocations: 1.198 MB / 388.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004741/0.1851, allocations: 316 kB / 389.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.1862, allocations: 479.6 kB / 389.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008766/0.1871, allocations: 0.7209 MB / 390.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.1891, allocations: 1.268 MB / 391.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005602/0.1947, allocations: 3.793 MB / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.1948, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1948, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001396/0.195, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.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.007652/0.2026, allocations: 2.458 MB / 397.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/0.2027, allocations: 8.031 kB / 397.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.2036, allocations: 238.2 kB / 398.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.2063, allocations: 1.178 MB / 399.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.2065, allocations: 176.9 kB / 399.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.2068, allocations: 224.1 kB / 399.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/0.2125, allocations: 2.538 MB / 402.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.2126, allocations: 0 / 402.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.2128, allocations: 92 kB / 402.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.33e-05/0.2129, allocations: 56 kB / 402.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.2172, allocations: 2.137 MB / 404.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.2335, allocations: 7.479 MB / 411.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.2354, allocations: 1.251 MB / 413.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.2366, allocations: 0.6296 MB / 413.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.177e-05/0.2367, allocations: 8.562 kB / 413.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.2368, allocations: 47.11 kB / 413.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 4.749e-06/0.2368, allocations: 0 / 413.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.005874/0.2426, allocations: 2.435 MB / 416.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.2428, allocations: 59.97 kB / 416.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.2444, allocations: 0.7932 MB / 417.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.2445, allocations: 37.7 kB / 417.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.2456, allocations: 0.9176 MB / 418.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.2459, allocations: 224.7 kB / 418.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.2462, allocations: 146.6 kB / 418.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003984/0.2466, allocations: 394.8 kB / 418.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/0.2473, allocations: 361.8 kB / 419.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.2484, allocations: 0.5828 MB / 419.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.25, allocations: 0.9855 MB / 420.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.25, allocations: 4 kB / 420.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002383/0.2524, allocations: 1.151 MB / 421.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.2525, allocations: 17.12 kB / 421.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.2525, allocations: 8 kB / 422 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.2529, allocations: 112.7 kB / 422.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.2537, allocations: 175.7 kB / 422.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.2566, allocations: 2.325 MB / 424.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.2573, allocations: 39.97 kB / 424.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/0.2574, allocations: 35.98 kB / 424.6 MB, free: 12.68 MB / 366.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.001442/0.2588, allocations: 0.6496 MB / 425.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.2591, allocations: 86.98 kB / 425.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.2593, allocations: 103.6 kB / 425.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.2593, allocations: 8 kB / 425.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.2593, allocations: 0 / 425.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.2594, allocations: 3.984 kB / 425.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/0.2646, allocations: 2.655 MB / 428.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.2646, allocations: 4.156 kB / 428.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.2651, allocations: 111.9 kB / 428.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.2654, allocations: 100.7 kB / 428.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.2654, allocations: 16 kB / 428.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.2678, allocations: 2.279 MB / 430.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.2678, allocations: 4.031 kB / 430.6 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.2703, allocations: 1.412 MB / 432.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.2709, allocations: 224.1 kB / 432.3 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/0.271, allocations: 15.98 kB / 432.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.2714, allocations: 43.97 kB / 432.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.2716, allocations: 56.42 kB / 432.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.2716, allocations: 16 kB / 432.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008809/0.2725, allocations: 0.5576 MB / 433 MB, free: 4.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2725, allocations: 0 / 433 MB, free: 4.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001507/0.2741, allocations: 304 kB / 433.3 MB, free: 3.766 MB / 366.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.0004/0.2745, allocations: 139.1 kB / 433.4 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.2766, allocations: 1.018 MB / 434.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2766, allocations: 0 / 434.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.2776, allocations: 0.5612 MB / 435 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.2788, allocations: 222.8 kB / 435.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/0.287, allocations: 3.191 MB / 438.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.2889, allocations: 1.728 MB / 440.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007821/0.2897, allocations: 195.1 kB / 440.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.2899, allocations: 67.42 kB / 440.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.2899, allocations: 0 / 440.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of Templates: time 0.2781/0.568, allocations: 12.57 MB / 452.9 MB, free: 70.5 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)