Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01001/0.01001, allocations: 175.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.931/1.931, allocations: 194.5 MB / 210.3 MB, free: 8.785 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002028/0.002027, allocations: 120.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.276/0.276, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004542, allocations: 10.12 kB / 406.3 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 54.87 MB / 461.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/0.5986, allocations: 106.5 MB / 0.5544 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.5989, allocations: 83.59 kB / 0.5545 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.232/2.831, allocations: 470.5 MB / 1.014 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.985e-06/2.831, allocations: 4 kB / 1.014 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009598/2.832, allocations: 300.7 kB / 1.014 GB, free: 55.45 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3915 * Number of variables: 3915 Notification: Performance of Generate backend data structure: time 0.07348/2.905, allocations: 13.96 MB / 1.028 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/2.905, allocations: 11.16 kB / 1.028 GB, free: 51.45 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01087/2.916, allocations: 2.031 MB / 1.03 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08813/3.004, allocations: 8.549 MB / 1.038 GB, free: 50.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03192/3.036, allocations: 8.577 MB / 1.047 GB, free: 46.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001922/3.038, allocations: 1.03 MB / 1.048 GB, free: 46.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007592/3.046, allocations: 1.307 MB / 1.049 GB, free: 45.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08284/3.129, allocations: 24.9 MB / 1.073 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008228/3.13, allocations: 11.91 kB / 1.073 GB, free: 24.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007048/3.137, allocations: 0.5631 MB / 1.074 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001465/3.138, allocations: 0.9265 MB / 1.075 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07362/3.212, allocations: 22.52 MB / 1.097 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.668/3.88, allocations: 75.48 MB / 1.17 GB, free: 41.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0402/3.92, allocations: 21.07 MB / 1.191 GB, free: 30.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1096/4.03, allocations: 37.22 MB / 1.227 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/4.03, allocations: 131.8 kB / 1.227 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1188): time 1.802e-05/4.03, allocations: 0 / 1.227 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1188): time 0.1002/4.13, allocations: 37.22 MB / 1.264 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/4.131, allocations: 175 kB / 1.264 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00911/4.14, allocations: 2.949 MB / 1.267 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002972/4.143, allocations: 177.7 kB / 1.267 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004917/4.148, allocations: 4.43 MB / 1.271 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008481/4.156, allocations: 3.859 MB / 1.275 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003374/4.16, allocations: 176 kB / 1.275 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001734/4.162, allocations: 0.7482 MB / 1.276 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02534/4.187, allocations: 8.076 MB / 1.284 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4715/4.658, allocations: 9.833 MB / 1.293 GB, free: 86.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02895/4.687, allocations: 9.407 MB / 1.303 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-05/4.688, allocations: 9.156 kB / 1.303 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.07669/4.764, allocations: 23.95 MB / 1.326 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/4.764, allocations: 17.12 kB / 1.326 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/4.765, allocations: 33.72 kB / 1.326 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03644/4.801, allocations: 10.36 MB / 1.336 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/4.813, allocations: 1.351 MB / 1.337 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04778/4.861, allocations: 19.54 MB / 1.357 GB, free: 83.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/4.873, allocations: 1.118 MB / 1.358 GB, free: 83.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003556/4.876, allocations: 381.6 kB / 1.358 GB, free: 83.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.01753/4.894, allocations: 5.355 MB / 1.363 GB, free: 81.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003179/4.897, allocations: 0.5902 MB / 1.364 GB, free: 81.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0752/4.972, allocations: 24.7 MB / 1.388 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005889/4.973, allocations: 329.4 kB / 1.388 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/4.973, allocations: 0 / 1.388 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002117/4.973, allocations: 45.75 kB / 1.388 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1299/5.103, allocations: 43.65 MB / 1.431 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001837/5.103, allocations: 7.25 kB / 1.431 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01019/5.114, allocations: 1.085 MB / 1.432 GB, free: 44.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03526/5.149, allocations: 10.33 MB / 1.442 GB, free: 36.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003348/5.152, allocations: 245.7 kB / 1.442 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04693/5.199, allocations: 19.46 MB / 1.461 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/5.199, allocations: 0 / 1.461 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5599/5.759, allocations: 39.29 MB / 1.5 GB, free: 99.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.011/5.77, allocations: 2.673 MB / 1.502 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004229/5.775, allocations: 159.3 kB / 1.502 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01081/5.785, allocations: 0.5287 MB / 1.503 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005077/5.791, allocations: 0.8833 MB / 1.504 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002692/5.793, allocations: 309 kB / 1.504 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006241/5.8, allocations: 2.25 MB / 1.506 GB, free: 99.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.81e-07/5.8, allocations: 0 / 1.506 GB, free: 99.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01659/5.816, allocations: 3.47 MB / 1.51 GB, free: 99.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (565): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.1036/5.92, allocations: 37.26 MB / 1.546 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.07591/5.996, allocations: 20.17 MB / 1.566 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/5.996, allocations: 3.656 kB / 1.566 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.04449/6.04, allocations: 11.13 MB / 1.577 GB, free: 93.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/6.054, allocations: 1.15 MB / 1.578 GB, free: 93.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.256/6.31, allocations: 116.3 MB / 1.691 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.427/6.737, allocations: 9.644 MB / 1.701 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0134/6.751, allocations: 2.099 MB / 1.703 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01431/6.765, allocations: 4.731 MB / 1.707 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.743e-06/6.765, allocations: 0 / 1.707 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.117/7.882, allocations: 292.6 MB / 1.993 GB, free: 92.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/7.883, allocations: 211.6 kB / 1.993 GB, free: 91.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/17.9, allocations: 4 kB / 1.993 GB, free: 91.96 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat