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.00158/0.00158, allocations: 108 kB / 15.61 MB, free: 152 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.001764/0.001765, allocations: 196 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001174/0.001174, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2141, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0163/0.2304, allocations: 16.86 MB / 342.2 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00813/0.2385, allocations: 4.225 MB / 346.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.2402, allocations: 115.7 kB / 346.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01431/0.2546, allocations: 7.46 MB / 354 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.2598, allocations: 1.546 MB / 355.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.2624, allocations: 1.204 MB / 356.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007726/0.2701, allocations: 8.499 MB / 365.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02749/0.2976, allocations: 22.69 MB / 387.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005525/0.3032, allocations: 4.941 MB / 392.8 MB, free: 32 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006321/0.3095, allocations: 5.54 MB / 398.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00206/0.3116, allocations: 1.402 MB / 399.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.3147, allocations: 1.66 MB / 401.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.3167, allocations: 2.708 MB / 404.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006038/0.3228, allocations: 5.385 MB / 409.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.3383, allocations: 18.41 MB / 428 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.3383, allocations: 0 / 428 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3383, allocations: 4 kB / 428 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004687/0.3388, allocations: 0 / 428 MB, free: 12.82 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.0298/0.3686, allocations: 10.79 MB / 438.7 MB, free: 1.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3687, allocations: 12.03 kB / 438.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02979/0.3985, allocations: 5.702 MB / 444.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.4091, allocations: 4.841 MB / 449.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000525/0.4096, allocations: 0.7065 MB / 450 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/0.4119, allocations: 0.9179 MB / 450.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2854/0.6972, allocations: 13.6 MB / 464.5 MB, free: 96.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.6974, allocations: 5.141 kB / 464.5 MB, free: 96.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008135/0.6982, allocations: 386.8 kB / 464.9 MB, free: 95.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002948/0.6985, allocations: 458 kB / 465.4 MB, free: 95.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.7162, allocations: 12.82 MB / 478.2 MB, free: 89.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05065/0.7668, allocations: 46.93 MB / 0.5128 GB, free: 42.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.7777, allocations: 17.08 MB / 0.5295 GB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.7798, allocations: 1.871 MB / 0.5313 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007848/0.7877, allocations: 5.965 MB / 0.5371 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.7877, allocations: 52.56 kB / 0.5372 GB, free: 14.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=188): time 3.196e-06/0.7878, allocations: 0 / 0.5372 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=188): time 0.006419/0.7942, allocations: 4.316 MB / 0.5414 GB, free: 10.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.7942, allocations: 69.41 kB / 0.5415 GB, free: 10.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.7975, allocations: 3.324 MB / 0.5447 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.651e-05/0.7976, allocations: 57.64 kB / 0.5448 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.7989, allocations: 4.188 MB / 0.5489 GB, free: 2.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.7993, allocations: 0.6901 MB / 0.5495 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.8003, allocations: 1.063 MB / 0.5506 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.201e-05/0.8004, allocations: 305.1 kB / 0.5509 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/0.8029, allocations: 2.036 MB / 0.5528 GB, free: 14.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/0.8073, allocations: 4.69 MB / 0.5574 GB, free: 8.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007415/0.8147, allocations: 7.097 MB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.971e-05/0.8148, allocations: 28 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01009/0.8249, allocations: 7.011 MB / 0.5712 GB, free: 9.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.8249, allocations: 47.94 kB / 0.5713 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.884e-05/0.825, allocations: 92 kB / 0.5714 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008454/0.8259, allocations: 435.4 kB / 0.5718 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/0.8294, allocations: 1.178 MB / 0.5729 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/0.8343, allocations: 4.375 MB / 0.5772 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/0.8377, allocations: 0.716 MB / 0.5779 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/0.8381, allocations: 288 kB / 0.5782 GB, free: 1.883 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004657/0.8427, allocations: 3.485 MB / 0.5816 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005366/0.8433, allocations: 296.3 kB / 0.5819 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/0.8484, allocations: 3.309 MB / 0.5851 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003517/0.8519, allocations: 2.538 MB / 0.5876 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.852, allocations: 11.98 kB / 0.5876 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.852, allocations: 7.969 kB / 0.5876 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.8653, allocations: 9.309 MB / 0.5967 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.8654, allocations: 0 / 0.5967 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.8668, allocations: 355.5 kB / 0.597 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006683/0.8675, allocations: 325 kB / 0.5973 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.8677, allocations: 47.98 kB / 0.5974 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.8722, allocations: 4.189 MB / 0.6015 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8723, allocations: 7.938 kB / 0.6015 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006166/0.8784, allocations: 4.696 MB / 0.6061 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.8796, allocations: 0.5829 MB / 0.6066 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/0.8799, allocations: 39.94 kB / 0.6067 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.8811, allocations: 131.9 kB / 0.6068 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/0.8815, allocations: 129.8 kB / 0.6069 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.8816, allocations: 51.98 kB / 0.607 GB, free: 4.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003452/0.885, allocations: 2.198 MB / 0.6091 GB, free: 1.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8851, allocations: 0 / 0.6091 GB, free: 1.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.1734/1.059, allocations: 2.026 MB / 0.6111 GB, free: 146.8 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007386/1.059, allocations: 203.8 kB / 0.6113 GB, free: 146.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0115/1.071, allocations: 6.343 MB / 0.6175 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.071, allocations: 0 / 0.6175 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/1.073, allocations: 1.592 MB / 0.619 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.076, allocations: 0.6956 MB / 0.6197 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/1.101, allocations: 13.87 MB / 0.6333 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007702/1.109, allocations: 5.796 MB / 0.6389 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008489/1.117, allocations: 1.832 MB / 0.6407 GB, free: 136.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.118, allocations: 236.7 kB / 0.6409 GB, free: 136.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/1.118, allocations: 0 / 0.6409 GB, free: 136.4 MB / 446.1 MB Notification: Performance of Templates: time 0.1154/1.234, allocations: 41.72 MB / 0.6817 GB, free: 96.93 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)