Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009284/0.0009285, allocations: 87.5 kB / 16.31 MB, free: 5.66 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.001234/0.001234, allocations: 182.6 kB / 17.21 MB, free: 5.578 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.611/1.611, allocations: 205.4 MB / 223.4 MB, free: 5.496 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.0005126/0.0005128, allocations: 18.81 kB / 280.2 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2771, allocations: 47.57 MB / 327.7 MB, free: 1.645 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01692/0.2941, allocations: 14.49 MB / 342.2 MB, free: 5.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.3063, allocations: 3.863 MB / 346.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00452/0.3109, allocations: 115.7 kB / 346.2 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.3146, allocations: 0.7026 MB / 346.9 MB, free: 448 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007542/0.3221, allocations: 1.263 MB / 348.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.3266, allocations: 0.9045 MB / 349.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01256/0.3391, allocations: 7.945 MB / 357 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0456/0.3848, allocations: 18.37 MB / 375.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008576/0.3935, allocations: 3.411 MB / 378.8 MB, free: 396 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008586/0.4021, allocations: 3.852 MB / 382.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002564/0.4047, allocations: 0.5585 MB / 383.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005003/0.4097, allocations: 0.7888 MB / 384 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00337/0.4131, allocations: 1.596 MB / 385.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004584/0.4177, allocations: 1.794 MB / 387.4 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02458/0.4423, allocations: 15.65 MB / 403 MB, free: 8.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.4424, allocations: 0 / 403 MB, free: 8.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.479e-06/0.4424, allocations: 0 / 403 MB, free: 8.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007656/0.4432, allocations: 0 / 403 MB, free: 8.07 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.03054/0.4737, allocations: 8.842 MB / 411.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.4738, allocations: 16.02 kB / 411.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/0.5048, allocations: 5.724 MB / 417.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.5189, allocations: 4.791 MB / 422.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/0.5201, allocations: 0.7025 MB / 423.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005173/0.5253, allocations: 0.9179 MB / 424 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04917/0.5745, allocations: 13.54 MB / 437.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005999/0.5751, allocations: 11.98 kB / 437.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00418/0.5793, allocations: 392 kB / 438 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000708/0.5801, allocations: 459.9 kB / 438.4 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03889/0.619, allocations: 12.76 MB / 451.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5364/1.155, allocations: 47.03 MB / 498.2 MB, free: 70.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/1.169, allocations: 17.09 MB / 0.5032 GB, free: 51.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/1.172, allocations: 1.909 MB / 0.5051 GB, free: 50.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/1.183, allocations: 6.08 MB / 0.511 GB, free: 43.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/1.183, allocations: 56.55 kB / 0.5111 GB, free: 43.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 5.189e-06/1.183, allocations: 0 / 0.5111 GB, free: 43.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.007424/1.19, allocations: 4.382 MB / 0.5153 GB, free: 39.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.191, allocations: 73.41 kB / 0.5154 GB, free: 39.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005975/1.197, allocations: 3.301 MB / 0.5186 GB, free: 36.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002793/1.197, allocations: 57.7 kB / 0.5187 GB, free: 36.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002351/1.199, allocations: 4.182 MB / 0.5228 GB, free: 31.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008143/1.2, allocations: 0.712 MB / 0.5235 GB, free: 31.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/1.201, allocations: 104 kB / 0.5236 GB, free: 31.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004219/1.201, allocations: 0.5051 MB / 0.5241 GB, free: 30.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/1.204, allocations: 2.067 MB / 0.5261 GB, free: 28.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/1.209, allocations: 4.705 MB / 0.5307 GB, free: 22.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/1.214, allocations: 3.218 MB / 0.5338 GB, free: 19.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.214, allocations: 28 kB / 0.5339 GB, free: 19.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.0132/1.227, allocations: 7.046 MB / 0.5407 GB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.227, allocations: 44 kB / 0.5408 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.228, allocations: 95.94 kB / 0.5409 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.229, allocations: 443.4 kB / 0.5413 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/1.232, allocations: 1.178 MB / 0.5424 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/1.237, allocations: 4.075 MB / 0.5464 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/1.242, allocations: 0.712 MB / 0.5471 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.244, allocations: 292 kB / 0.5474 GB, free: 5.164 MB / 382.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 (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.006736/1.25, allocations: 3.482 MB / 0.5508 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007438/1.251, allocations: 292.3 kB / 0.5511 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006116/1.257, allocations: 3.391 MB / 0.5544 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003958/1.261, allocations: 2.612 MB / 0.5569 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.261, allocations: 4 kB / 0.5569 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/1.261, allocations: 11.95 kB / 0.5569 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/1.281, allocations: 9.402 MB / 0.5661 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.281, allocations: 0 / 0.5661 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.282, allocations: 355.4 kB / 0.5665 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007756/1.283, allocations: 321.2 kB / 0.5668 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/1.283, allocations: 47.98 kB / 0.5668 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005069/1.289, allocations: 3.88 MB / 0.5706 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.289, allocations: 0 / 0.5706 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/1.296, allocations: 4.811 MB / 0.5753 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.297, allocations: 0.6179 MB / 0.5759 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000666/1.298, allocations: 36 kB / 0.5759 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.299, allocations: 131.8 kB / 0.5761 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/1.3, allocations: 137.8 kB / 0.5762 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.3, allocations: 59.98 kB / 0.5763 GB, free: 7.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004367/1.304, allocations: 2.163 MB / 0.5784 GB, free: 5.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.304, allocations: 0 / 0.5784 GB, free: 5.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00683/1.311, allocations: 2.029 MB / 0.5804 GB, free: 3.129 MB / 414.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 (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.0005332/1.312, allocations: 201 kB / 0.5805 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008462/1.32, allocations: 4.783 MB / 0.5852 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.32, allocations: 0 / 0.5852 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/1.323, allocations: 1.63 MB / 0.5868 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.327, allocations: 0.6493 MB / 0.5874 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/1.359, allocations: 16.87 MB / 0.6039 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/1.369, allocations: 5.8 MB / 0.6096 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005564/1.375, allocations: 1.828 MB / 0.6114 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.376, allocations: 239.4 kB / 0.6116 GB, free: 3.082 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.376, allocations: 0 / 0.6116 GB, free: 3.082 MB / 446.1 MB Notification: Performance of Templates: time 0.2693/1.645, allocations: 39.67 MB / 0.6503 GB, free: 128.5 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)