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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001288/0.001288, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.213/1.213, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001676/0.001676, allocations: 115.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.503e-05/1.496e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0624/0.06243, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.294, allocations: 71.87 MB / 372.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.2942, allocations: 77.2 kB / 372.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05242/0.3467, allocations: 21.28 MB / 394.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3467, allocations: 0 / 394.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001106/0.3468, allocations: 43.92 kB / 394.3 MB, free: 10.79 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.003029/0.3499, allocations: 1.415 MB / 395.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3499, allocations: 12.03 kB / 395.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/0.3505, allocations: 174.2 kB / 395.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.3522, allocations: 0.9299 MB / 396.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.3522, allocations: 44 kB / 396.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.3525, allocations: 80 kB / 396.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/0.3544, allocations: 1.243 MB / 398.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.3568, allocations: 1.585 MB / 399.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3569, allocations: 0 / 399.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.357, allocations: 4 kB / 399.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.357, allocations: 32 kB / 399.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006763/0.3638, allocations: 4.73 MB / 404.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/0.3646, allocations: 0.9424 MB / 405.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.3653, allocations: 456.4 kB / 405.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.3654, allocations: 8 kB / 405.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3654, allocations: 34.56 kB / 405.9 MB, free: 1.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.834e-06/0.3654, allocations: 0 / 405.9 MB, free: 1.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.002267/0.3677, allocations: 1.498 MB / 407.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.3678, allocations: 55.41 kB / 407.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.3685, allocations: 0.5645 MB / 408 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.3686, allocations: 25.7 kB / 408.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.3689, allocations: 0.6148 MB / 408.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3691, allocations: 145.8 kB / 408.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.3691, allocations: 0 / 408.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3692, allocations: 370.8 kB / 409.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.3696, allocations: 245 kB / 409.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.37, allocations: 380.2 kB / 409.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.3703, allocations: 316.5 kB / 410.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3704, allocations: 7.953 kB / 410.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001039/0.3714, allocations: 0.7772 MB / 410.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3714, allocations: 4 kB / 410.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3714, allocations: 4 kB / 410.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.3717, allocations: 100.8 kB / 411 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.3721, allocations: 119.9 kB / 411.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.3741, allocations: 2.048 MB / 413.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.3744, allocations: 23.97 kB / 413.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.3745, allocations: 23.95 kB / 413.2 MB, free: 9.656 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.3746, allocations: 122.4 kB / 413.3 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.3747, allocations: 59.25 kB / 413.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.3749, allocations: 78.09 kB / 413.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3749, allocations: 4 kB / 413.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3749, allocations: 0 / 413.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3749, allocations: 3.984 kB / 413.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.3775, allocations: 1.742 MB / 415.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3775, allocations: 0 / 415.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.3779, allocations: 75.98 kB / 415.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.3781, allocations: 96.97 kB / 415.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.3781, allocations: 11.94 kB / 415.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.3799, allocations: 2.009 MB / 417.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3799, allocations: 8.062 kB / 417.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.3811, allocations: 1.074 MB / 418.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.3814, allocations: 200.2 kB / 418.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.3815, allocations: 4 kB / 418.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.3818, allocations: 32.03 kB / 418.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.3819, allocations: 39.88 kB / 418.7 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.382, allocations: 16 kB / 418.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004988/0.3825, allocations: 446.8 kB / 419.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3825, allocations: 0 / 419.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007219/0.3832, allocations: 184 kB / 419.4 MB, free: 3.207 MB / 298.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.3834, allocations: 107.1 kB / 419.5 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009797/0.3844, allocations: 0.6941 MB / 420.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3844, allocations: 1.062 kB / 420.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.3849, allocations: 441.6 kB / 420.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.3857, allocations: 134.6 kB / 420.7 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.3888, allocations: 1.797 MB / 422.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.3898, allocations: 1.451 MB / 424 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.3903, allocations: 165 kB / 424.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3904, allocations: 43.44 kB / 424.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3904, allocations: 0 / 424.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of Templates: time 0.01537/0.4058, allocations: 7.598 MB / 431.8 MB, free: 6.672 MB / 314.7 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)