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.000994/0.0009942, allocations: 100 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.0009446/0.0009448, allocations: 177.3 kB / 15.94 MB, free: 228 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.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0004292/0.0004292, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2623, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0134/0.2758, allocations: 13.55 MB / 340 MB, free: 5.941 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008394/0.2842, allocations: 3.993 MB / 344 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.2855, allocations: 111.7 kB / 344.1 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.287, allocations: 0.7652 MB / 344.9 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.2901, allocations: 1.266 MB / 346.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.2922, allocations: 0.9044 MB / 347 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007059/0.2993, allocations: 5.583 MB / 352.6 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03252/0.3318, allocations: 18.18 MB / 370.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/0.3383, allocations: 3.122 MB / 373.9 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006933/0.3453, allocations: 3.548 MB / 377.5 MB, free: 308 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.3479, allocations: 0.5508 MB / 378 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.3524, allocations: 0.7497 MB / 378.8 MB, free: 15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002818/0.3552, allocations: 1.561 MB / 380.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004262/0.3595, allocations: 1.794 MB / 382.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01927/0.3788, allocations: 15.64 MB / 397.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3789, allocations: 7.938 kB / 397.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.3789, allocations: 0 / 397.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006688/0.3796, allocations: 0 / 397.8 MB, free: 11.94 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.02734/0.4069, allocations: 8.846 MB / 406.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.407, allocations: 8.031 kB / 406.6 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03024/0.4372, allocations: 5.604 MB / 412.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.4501, allocations: 4.779 MB / 417 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008039/0.4509, allocations: 0.7064 MB / 417.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003644/0.4546, allocations: 0.9218 MB / 418.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03963/0.4943, allocations: 13.46 MB / 432.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000428/0.4947, allocations: 11.98 kB / 432.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003291/0.4981, allocations: 392 kB / 432.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005374/0.4986, allocations: 455.9 kB / 432.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/0.5288, allocations: 12.77 MB / 445.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4368/0.9656, allocations: 47.03 MB / 492.7 MB, free: 72.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.9777, allocations: 17.1 MB / 0.4979 GB, free: 55.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.9881, allocations: 6.172 MB / 0.5039 GB, free: 49.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.9882, allocations: 60.52 kB / 0.504 GB, free: 49.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=196): time 4.498e-06/0.9882, allocations: 0 / 0.504 GB, free: 49.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=196): time 0.006972/0.9952, allocations: 4.752 MB / 0.5086 GB, free: 44.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.9953, allocations: 69.41 kB / 0.5087 GB, free: 44.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/0.9995, allocations: 3.297 MB / 0.5119 GB, free: 40.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.9997, allocations: 57.7 kB / 0.512 GB, free: 40.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.002, allocations: 4.17 MB / 0.516 GB, free: 36.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/1.002, allocations: 0.7144 MB / 0.5167 GB, free: 35.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/1.002, allocations: 111.9 kB / 0.5168 GB, free: 35.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002643/1.002, allocations: 0.509 MB / 0.5173 GB, free: 35.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/1.005, allocations: 2.075 MB / 0.5194 GB, free: 33.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/1.008, allocations: 4.682 MB / 0.5239 GB, free: 27.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/1.012, allocations: 3.23 MB / 0.5271 GB, free: 23.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-05/1.012, allocations: 28 kB / 0.5271 GB, free: 23.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.009011/1.021, allocations: 7.069 MB / 0.534 GB, free: 16.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/1.021, allocations: 47.94 kB / 0.5341 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.375e-05/1.021, allocations: 92 kB / 0.5341 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/1.022, allocations: 443.4 kB / 0.5346 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/1.025, allocations: 1.17 MB / 0.5357 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/1.029, allocations: 4.169 MB / 0.5398 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/1.033, allocations: 0.7237 MB / 0.5405 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/1.033, allocations: 288 kB / 0.5408 GB, free: 9.723 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.005776/1.039, allocations: 3.478 MB / 0.5442 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/1.039, allocations: 284.4 kB / 0.5444 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004449/1.044, allocations: 3.43 MB / 0.5478 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00305/1.047, allocations: 2.644 MB / 0.5504 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.047, allocations: 4 kB / 0.5504 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.047, allocations: 11.95 kB / 0.5504 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.064, allocations: 9.438 MB / 0.5596 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.064, allocations: 0 / 0.5596 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.065, allocations: 363.5 kB / 0.5599 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007367/1.066, allocations: 313.2 kB / 0.5602 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/1.066, allocations: 47.98 kB / 0.5603 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/1.071, allocations: 3.971 MB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.071, allocations: 0 / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006976/1.078, allocations: 4.871 MB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.08, allocations: 0.6179 MB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/1.08, allocations: 35.95 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.081, allocations: 135.8 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.081, allocations: 125.8 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.081, allocations: 55.98 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003537/1.085, allocations: 2.162 MB / 0.572 GB, free: 9.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.085, allocations: 0 / 0.572 GB, free: 9.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.007057/1.092, allocations: 2.031 MB / 0.574 GB, free: 7.449 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.0005231/1.093, allocations: 199.5 kB / 0.5741 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00811/1.101, allocations: 4.806 MB / 0.5788 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/1.101, allocations: 4.375 kB / 0.5788 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/1.103, allocations: 1.644 MB / 0.5804 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.106, allocations: 0.6214 MB / 0.5811 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/1.137, allocations: 16.63 MB / 0.5973 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006524/1.144, allocations: 5.944 MB / 0.6031 GB, free: 9.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005064/1.149, allocations: 1.824 MB / 0.6049 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/1.149, allocations: 235.4 kB / 0.6051 GB, free: 7.473 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/1.149, allocations: 4 kB / 0.6051 GB, free: 7.469 MB / 446.1 MB Notification: Performance of Templates: time 0.3212/1.471, allocations: 39.65 MB / 0.6438 GB, free: 132.2 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: