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.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 199 kB / 16.54 MB, free: 6.672 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.6/1.6, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.002404/0.002404, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2833, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007757/0.2911, allocations: 5.964 MB / 331.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.2953, allocations: 1.676 MB / 332.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.2969, allocations: 41.12 kB / 333 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.298, allocations: 306.3 kB / 333.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.3005, allocations: 357.9 kB / 333.6 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.3019, allocations: 360.6 kB / 334 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.3048, allocations: 2.01 MB / 336 MB, free: 9.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.3081, allocations: 2.695 MB / 338.7 MB, free: 6.422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.3098, allocations: 1.036 MB / 339.7 MB, free: 5.383 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.3116, allocations: 1.206 MB / 340.9 MB, free: 4.172 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.3121, allocations: 312 kB / 341.2 MB, free: 3.867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009204/0.313, allocations: 475.6 kB / 341.7 MB, free: 3.402 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007376/0.3137, allocations: 0.7247 MB / 342.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.3156, allocations: 1.252 MB / 343.7 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004221/0.3198, allocations: 3.752 MB / 347.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3198, allocations: 0 / 347.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3199, allocations: 0 / 347.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.578e-05/0.3199, allocations: 0 / 347.4 MB, free: 13.66 MB / 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.005054/0.325, allocations: 2.462 MB / 349.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3251, allocations: 8.031 kB / 349.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006167/0.3257, allocations: 242.1 kB / 350.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.3277, allocations: 1.174 MB / 351.3 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3278, allocations: 172.9 kB / 351.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.3281, allocations: 220.1 kB / 351.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004734/0.3329, allocations: 2.538 MB / 354.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.3329, allocations: 0 / 354.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.3331, allocations: 92 kB / 354.3 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.3332, allocations: 56 kB / 354.4 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.3369, allocations: 2.137 MB / 356.5 MB, free: 4.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.3491, allocations: 7.604 MB / 364.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.3505, allocations: 1.26 MB / 365.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3515, allocations: 0.6218 MB / 366 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.3516, allocations: 12.55 kB / 366 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.3516, allocations: 43.12 kB / 366.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 3.456e-06/0.3516, allocations: 0 / 366.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004293/0.3559, allocations: 2.435 MB / 368.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.356, allocations: 59.97 kB / 368.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3571, allocations: 0.8009 MB / 369.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.3572, allocations: 37.7 kB / 369.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.3578, allocations: 0.9099 MB / 370.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.358, allocations: 220.8 kB / 370.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.3583, allocations: 154.5 kB / 370.7 MB, free: 5.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.3585, allocations: 398.7 kB / 371 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.3591, allocations: 365.7 kB / 371.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.3598, allocations: 0.5789 MB / 372 MB, free: 4.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3611, allocations: 0.9933 MB / 373 MB, free: 3.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3611, allocations: 0 / 373 MB, free: 3.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001846/0.3629, allocations: 1.147 MB / 374.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.363, allocations: 16.03 kB / 374.1 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.363, allocations: 8 kB / 374.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.3633, allocations: 104.8 kB / 374.3 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.364, allocations: 179.7 kB / 374.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.3661, allocations: 2.325 MB / 376.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.3666, allocations: 43.91 kB / 376.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.3667, allocations: 36 kB / 376.8 MB, free: 15.24 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.0009794/0.3677, allocations: 0.6497 MB / 377.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.3678, allocations: 82.91 kB / 377.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.368, allocations: 103.5 kB / 377.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/0.3681, allocations: 8 kB / 377.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3681, allocations: 0 / 377.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3681, allocations: 3.984 kB / 377.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.3722, allocations: 2.669 MB / 380.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3722, allocations: 0 / 380.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.3727, allocations: 112 kB / 380.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.3729, allocations: 100.7 kB / 380.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.3729, allocations: 15.98 kB / 380.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.3751, allocations: 2.271 MB / 382.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3751, allocations: 4.031 kB / 382.8 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.3771, allocations: 1.412 MB / 384.3 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.3774, allocations: 232 kB / 384.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.3775, allocations: 24.12 kB / 384.5 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.3779, allocations: 43.89 kB / 384.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3781, allocations: 48.44 kB / 384.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.3781, allocations: 23.98 kB / 384.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006705/0.3788, allocations: 0.5536 MB / 385.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3788, allocations: 192 / 385.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009873/0.3798, allocations: 300 kB / 385.5 MB, free: 6.316 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.0002456/0.3801, allocations: 143 kB / 385.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.3821, allocations: 1.134 MB / 386.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3821, allocations: 0 / 386.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.3829, allocations: 0.562 MB / 387.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.384, allocations: 214.7 kB / 387.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.3894, allocations: 3.25 MB / 390.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.3908, allocations: 1.724 MB / 392.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006332/0.3915, allocations: 203.1 kB / 392.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.3917, allocations: 59.44 kB / 392.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3917, allocations: 0 / 392.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.02481/0.4165, allocations: 12.24 MB / 405 MB, free: 2.66 MB / 334.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)