Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001476/0.001476, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001595/0.001595, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.391/1.391, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001344/0.001344, allocations: 59.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2455, allocations: 46.62 MB / 324.9 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.03198/0.2775, allocations: 16.56 MB / 341.4 MB, free: 3.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.2954, allocations: 4.174 MB / 345.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006072/0.3016, allocations: 111.7 kB / 345.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0275/0.3292, allocations: 7.087 MB / 352.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009037/0.3382, allocations: 1.353 MB / 354.1 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005102/0.3434, allocations: 1.115 MB / 355.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01265/0.356, allocations: 8.499 MB / 363.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04087/0.3969, allocations: 26.12 MB / 389.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007332/0.4043, allocations: 5.018 MB / 394.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008845/0.4132, allocations: 5.575 MB / 400.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004235/0.4175, allocations: 1.402 MB / 401.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005497/0.423, allocations: 1.664 MB / 403.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004939/0.428, allocations: 2.704 MB / 406.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009845/0.4378, allocations: 5.389 MB / 411.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02332/0.4612, allocations: 18.43 MB / 430 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4612, allocations: 0 / 430 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4613, allocations: 0 / 430 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006807/0.4619, allocations: 0 / 430 MB, free: 10.47 MB / 366.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.03292/0.4949, allocations: 10.81 MB / 440.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4949, allocations: 12.03 kB / 440.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0307/0.5256, allocations: 5.706 MB / 446.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.537, allocations: 4.841 MB / 451.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008431/0.5379, allocations: 0.7025 MB / 452.1 MB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003803/0.5417, allocations: 0.9217 MB / 453 MB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3607/0.9024, allocations: 13.61 MB / 466.6 MB, free: 96.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/0.9027, allocations: 7.734 kB / 466.7 MB, free: 96.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.9039, allocations: 390.2 kB / 467 MB, free: 95.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003327/0.9043, allocations: 458.5 kB / 467.5 MB, free: 95.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02152/0.9258, allocations: 12.85 MB / 480.3 MB, free: 87.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.069/0.9949, allocations: 46.93 MB / 0.5149 GB, free: 39.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/1.006, allocations: 17.12 MB / 0.5316 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/1.009, allocations: 1.906 MB / 0.5335 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009508/1.018, allocations: 6.092 MB / 0.5394 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.018, allocations: 60.5 kB / 0.5395 GB, free: 12.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 4.919e-06/1.018, allocations: 4 kB / 0.5395 GB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.006874/1.025, allocations: 4.409 MB / 0.5438 GB, free: 7.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/1.025, allocations: 77.41 kB / 0.5439 GB, free: 7.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005008/1.03, allocations: 3.32 MB / 0.5471 GB, free: 4.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.03, allocations: 57.7 kB / 0.5472 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.032, allocations: 4.177 MB / 0.5513 GB, free: 192 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/1.033, allocations: 0.7054 MB / 0.5519 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/1.035, allocations: 1.078 MB / 0.553 GB, free: 14.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/1.035, allocations: 301.1 kB / 0.5533 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.038, allocations: 2.075 MB / 0.5553 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005048/1.043, allocations: 4.737 MB / 0.5599 GB, free: 5.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007628/1.051, allocations: 7.163 MB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.296e-05/1.051, allocations: 28 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01012/1.061, allocations: 7.093 MB / 0.5739 GB, free: 6.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/1.061, allocations: 44 kB / 0.5739 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-05/1.061, allocations: 95.98 kB / 0.574 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008466/1.062, allocations: 435.4 kB / 0.5744 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/1.065, allocations: 1.181 MB / 0.5756 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/1.07, allocations: 4.379 MB / 0.5799 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/1.074, allocations: 0.7198 MB / 0.5806 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004335/1.074, allocations: 292 kB / 0.5808 GB, free: 15.1 MB / 430.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.004949/1.079, allocations: 3.482 MB / 0.5842 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/1.08, allocations: 284.3 kB / 0.5845 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/1.085, allocations: 3.41 MB / 0.5878 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003589/1.088, allocations: 2.62 MB / 0.5904 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.088, allocations: 4 kB / 0.5904 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/1.088, allocations: 11.95 kB / 0.5904 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/1.102, allocations: 9.43 MB / 0.5996 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.102, allocations: 3.984 kB / 0.5996 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.103, allocations: 351.5 kB / 0.6 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006933/1.104, allocations: 317 kB / 0.6003 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/1.104, allocations: 55.92 kB / 0.6003 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/1.109, allocations: 4.188 MB / 0.6044 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.109, allocations: 0 / 0.6044 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006544/1.115, allocations: 4.837 MB / 0.6091 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.116, allocations: 0.5907 MB / 0.6097 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003326/1.117, allocations: 39.94 kB / 0.6097 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.118, allocations: 135.9 kB / 0.6099 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.118, allocations: 125.8 kB / 0.61 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.118, allocations: 59.98 kB / 0.6101 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1857/1.304, allocations: 2.198 MB / 0.6122 GB, free: 146.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.304, allocations: 0 / 0.6122 GB, free: 146.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006386/1.31, allocations: 2.033 MB / 0.6142 GB, free: 146.5 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.0006543/1.311, allocations: 196.4 kB / 0.6144 GB, free: 146.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.322, allocations: 6.523 MB / 0.6207 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.322, allocations: 0 / 0.6207 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/1.324, allocations: 1.634 MB / 0.6223 GB, free: 144.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.327, allocations: 0.685 MB / 0.623 GB, free: 144.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.349, allocations: 17.66 MB / 0.6403 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004805/1.354, allocations: 5.798 MB / 0.6459 GB, free: 131.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004001/1.358, allocations: 1.829 MB / 0.6477 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/1.359, allocations: 237.6 kB / 0.6479 GB, free: 129.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/1.359, allocations: 4 kB / 0.6479 GB, free: 129.7 MB / 446.1 MB Notification: Performance of Templates: time 0.06311/1.422, allocations: 42.31 MB / 0.6892 GB, free: 89.36 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)