Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00233/0.00233, allocations: 197.7 kB / 16.14 MB, free: 6.602 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.443/1.443, allocations: 205.1 MB / 222 MB, free: 4.754 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.001255/0.001255, allocations: 55.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2513, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.02456/0.2759, allocations: 16.57 MB / 341.2 MB, free: 3.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.2877, allocations: 4.19 MB / 345.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.2917, allocations: 111.7 kB / 345.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01763/0.3094, allocations: 7.095 MB / 352.6 MB, free: 8.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008489/0.3179, allocations: 1.361 MB / 354 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.3223, allocations: 1.123 MB / 355.1 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.3341, allocations: 8.315 MB / 363.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02927/0.3634, allocations: 18.97 MB / 382.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007015/0.3705, allocations: 4.409 MB / 386.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008667/0.3792, allocations: 5.349 MB / 392.2 MB, free: 316 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003432/0.3827, allocations: 1.035 MB / 393.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006434/0.3891, allocations: 1.281 MB / 394.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.393, allocations: 2.314 MB / 396.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009283/0.4023, allocations: 4.987 MB / 401.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.4217, allocations: 18.18 MB / 420 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4218, allocations: 3.938 kB / 420 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4218, allocations: 0 / 420 MB, free: 4.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005444/0.4223, allocations: 0 / 420 MB, free: 4.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03601/0.4584, allocations: 10.81 MB / 430.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/0.4585, allocations: 12.03 kB / 430.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03277/0.4912, allocations: 5.698 MB / 436.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.5032, allocations: 4.841 MB / 441.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008291/0.5041, allocations: 0.7024 MB / 442 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004341/0.5085, allocations: 0.9218 MB / 443 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3636/0.8721, allocations: 13.61 MB / 456.6 MB, free: 95.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003221/0.8724, allocations: 9.422 kB / 456.6 MB, free: 95.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002427/0.8749, allocations: 391.2 kB / 457 MB, free: 95.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007878/0.8757, allocations: 461.3 kB / 457.4 MB, free: 95.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02488/0.9005, allocations: 12.84 MB / 470.2 MB, free: 91.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06225/0.9628, allocations: 46.93 MB / 0.5051 GB, free: 49.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.9743, allocations: 17.11 MB / 0.5218 GB, free: 29.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.9767, allocations: 1.905 MB / 0.5236 GB, free: 28.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008829/0.9855, allocations: 6.094 MB / 0.5296 GB, free: 21.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.9856, allocations: 64.5 kB / 0.5296 GB, free: 21.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 3.506e-06/0.9856, allocations: 0 / 0.5296 GB, free: 21.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.006618/0.9922, allocations: 4.405 MB / 0.5339 GB, free: 17.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.9922, allocations: 73.41 kB / 0.534 GB, free: 17.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/0.997, allocations: 3.324 MB / 0.5373 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.9972, allocations: 57.7 kB / 0.5373 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.9988, allocations: 4.176 MB / 0.5414 GB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.9992, allocations: 0.717 MB / 0.5421 GB, free: 8.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/1, allocations: 1.074 MB / 0.5431 GB, free: 7.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/1.001, allocations: 301.1 kB / 0.5434 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/1.003, allocations: 2.079 MB / 0.5455 GB, free: 5.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003808/1.007, allocations: 4.734 MB / 0.5501 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009766/1.017, allocations: 7.167 MB / 0.5571 GB, free: 6.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-05/1.017, allocations: 28 kB / 0.5571 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01253/1.029, allocations: 7.093 MB / 0.564 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/1.029, allocations: 44 kB / 0.5641 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.029, allocations: 92 kB / 0.5642 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009929/1.03, allocations: 431.4 kB / 0.5646 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/1.034, allocations: 1.182 MB / 0.5657 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/1.039, allocations: 4.067 MB / 0.5697 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/1.043, allocations: 0.7197 MB / 0.5704 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005873/1.043, allocations: 284 kB / 0.5707 GB, free: 8.918 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005627/1.049, allocations: 3.489 MB / 0.5741 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006143/1.05, allocations: 288.3 kB / 0.5744 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/1.055, allocations: 3.391 MB / 0.5777 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003704/1.059, allocations: 2.624 MB / 0.5802 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.059, allocations: 12 kB / 0.5802 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.059, allocations: 7.969 kB / 0.5802 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.074, allocations: 9.431 MB / 0.5895 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.074, allocations: 0 / 0.5895 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.075, allocations: 355.5 kB / 0.5898 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/1.076, allocations: 325.2 kB / 0.5901 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.076, allocations: 40 kB / 0.5901 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/1.081, allocations: 3.872 MB / 0.5939 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.081, allocations: 0 / 0.5939 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006647/1.087, allocations: 4.833 MB / 0.5986 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.089, allocations: 0.5984 MB / 0.5992 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/1.089, allocations: 36.06 kB / 0.5993 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.09, allocations: 135.8 kB / 0.5994 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/1.09, allocations: 137.7 kB / 0.5995 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.09, allocations: 55.98 kB / 0.5996 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003295/1.094, allocations: 2.19 MB / 0.6017 GB, free: 8.793 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 0.6017 GB, free: 8.793 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005599/1.099, allocations: 2.033 MB / 0.6037 GB, free: 6.754 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004615/1.1, allocations: 208.1 kB / 0.6039 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007291/1.107, allocations: 4.793 MB / 0.6086 GB, free: 1.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.107, allocations: 6 kB / 0.6086 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/1.109, allocations: 1.633 MB / 0.6102 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1948/1.304, allocations: 0.6392 MB / 0.6108 GB, free: 150.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/1.329, allocations: 17.63 MB / 0.628 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004948/1.334, allocations: 5.803 MB / 0.6337 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004357/1.338, allocations: 1.839 MB / 0.6355 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/1.339, allocations: 240.2 kB / 0.6357 GB, free: 140.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/1.339, allocations: 0 / 0.6357 GB, free: 140.1 MB / 446.1 MB Notification: Performance of Templates: time 0.06571/1.404, allocations: 40.91 MB / 0.6757 GB, free: 102.9 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)