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.001164/0.001164, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001419/0.001419, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004748/0.000475, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.273, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01443/0.2875, allocations: 13.55 MB / 340 MB, free: 5.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009567/0.2971, allocations: 3.989 MB / 344 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.2999, allocations: 111.7 kB / 344.1 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.302, allocations: 0.7652 MB / 344.9 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004405/0.3064, allocations: 1.27 MB / 346.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.3088, allocations: 0.8966 MB / 347 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009966/0.3188, allocations: 5.587 MB / 352.6 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0371/0.356, allocations: 18.18 MB / 370.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006053/0.3621, allocations: 3.126 MB / 373.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006603/0.3687, allocations: 3.54 MB / 377.5 MB, free: 304 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.3711, allocations: 0.5547 MB / 378 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.3749, allocations: 0.7536 MB / 378.8 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003302/0.3782, allocations: 1.557 MB / 380.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.382, allocations: 1.794 MB / 382.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01864/0.4007, allocations: 15.65 MB / 397.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4007, allocations: 0 / 397.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.603e-06/0.4007, allocations: 3.984 kB / 397.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006151/0.4013, allocations: 3.938 kB / 397.8 MB, free: 11.92 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02722/0.4286, allocations: 8.846 MB / 406.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4287, allocations: 12.03 kB / 406.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02978/0.4584, allocations: 5.592 MB / 412.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.4718, allocations: 4.783 MB / 417 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009968/0.4729, allocations: 0.7025 MB / 417.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004484/0.4774, allocations: 0.9218 MB / 418.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/0.5174, allocations: 13.47 MB / 432.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004521/0.5179, allocations: 8 kB / 432.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003675/0.5216, allocations: 388 kB / 432.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005948/0.5222, allocations: 459.9 kB / 432.9 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03004/0.5523, allocations: 12.77 MB / 445.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4386/0.9909, allocations: 47.04 MB / 492.7 MB, free: 72.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.002, allocations: 17.1 MB / 0.4979 GB, free: 55.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/1.013, allocations: 6.172 MB / 0.5039 GB, free: 49.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.013, allocations: 60.52 kB / 0.504 GB, free: 49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=196): time 4.428e-06/1.013, allocations: 0 / 0.504 GB, free: 49 MB / 382.1 MB Notification: Performance of matching and sorting (n=196): time 0.007163/1.021, allocations: 4.747 MB / 0.5086 GB, free: 44.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/1.021, allocations: 69.41 kB / 0.5087 GB, free: 44.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/1.025, allocations: 3.304 MB / 0.5119 GB, free: 40.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.025, allocations: 57.7 kB / 0.512 GB, free: 40.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/1.027, allocations: 4.171 MB / 0.516 GB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/1.027, allocations: 0.7163 MB / 0.5167 GB, free: 35.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/1.027, allocations: 104 kB / 0.5168 GB, free: 35.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002337/1.028, allocations: 0.5051 MB / 0.5173 GB, free: 35.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/1.03, allocations: 2.079 MB / 0.5194 GB, free: 33.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/1.034, allocations: 4.685 MB / 0.5239 GB, free: 27.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/1.037, allocations: 3.23 MB / 0.5271 GB, free: 23.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.285e-05/1.037, allocations: 28 kB / 0.5271 GB, free: 23.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.009065/1.046, allocations: 7.062 MB / 0.534 GB, free: 16.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/1.046, allocations: 44 kB / 0.5341 GB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.985e-05/1.047, allocations: 104.1 kB / 0.5342 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007932/1.047, allocations: 439.3 kB / 0.5346 GB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/1.051, allocations: 1.178 MB / 0.5357 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/1.055, allocations: 4.161 MB / 0.5398 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/1.059, allocations: 0.7159 MB / 0.5405 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005794/1.06, allocations: 292 kB / 0.5408 GB, free: 9.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 416 * 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 (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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00542/1.065, allocations: 3.485 MB / 0.5442 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007253/1.066, allocations: 284.4 kB / 0.5444 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/1.071, allocations: 3.422 MB / 0.5478 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00348/1.074, allocations: 2.639 MB / 0.5504 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.074, allocations: 4 kB / 0.5504 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/1.074, allocations: 11.95 kB / 0.5504 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.099, allocations: 9.45 MB / 0.5596 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.099, allocations: 0 / 0.5596 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.101, allocations: 359.5 kB / 0.5599 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009219/1.102, allocations: 313.2 kB / 0.5602 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/1.102, allocations: 43.98 kB / 0.5603 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005705/1.108, allocations: 3.971 MB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.108, allocations: 0 / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008181/1.116, allocations: 4.864 MB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/1.118, allocations: 0.6257 MB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007307/1.119, allocations: 39.95 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.12, allocations: 135.9 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/1.12, allocations: 125.8 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.121, allocations: 55.98 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004201/1.125, allocations: 2.162 MB / 0.572 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.125, allocations: 0 / 0.572 GB, free: 9.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00677/1.132, allocations: 2.035 MB / 0.574 GB, free: 7.426 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000576/1.132, allocations: 203.5 kB / 0.5742 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008483/1.141, allocations: 4.801 MB / 0.5788 GB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.141, allocations: 0 / 0.5788 GB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002724/1.143, allocations: 1.642 MB / 0.5805 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/1.147, allocations: 0.6104 MB / 0.581 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03262/1.18, allocations: 16.65 MB / 0.5973 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/1.19, allocations: 5.936 MB / 0.6031 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005474/1.195, allocations: 1.824 MB / 0.6049 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009044/1.196, allocations: 239.4 kB / 0.6051 GB, free: 7.461 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/1.196, allocations: 0 / 0.6051 GB, free: 7.461 MB / 446.1 MB Notification: Performance of Templates: time 0.2805/1.477, allocations: 39.66 MB / 0.6438 GB, free: 130.4 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: