Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001393, allocations: 181.6 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008706/0.0008706, allocations: 104.9 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002212/0.0002212, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1968, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.2974, allocations: 82.86 MB / 458.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.2977, allocations: 95.88 kB / 458.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04304/0.3408, allocations: 18.1 MB / 477 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3408, allocations: 4 kB / 477 MB, free: 11.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.3409, allocations: 12 kB / 477 MB, free: 11.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001817/0.3427, allocations: 0.8545 MB / 477.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3427, allocations: 12.03 kB / 477.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.3429, allocations: 112.5 kB / 478 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.3457, allocations: 454.8 kB / 478.4 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.3462, allocations: 366.5 kB / 478.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.3462, allocations: 57.94 kB / 478.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3464, allocations: 67.91 kB / 478.9 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3478, allocations: 0.8329 MB / 479.7 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.3478, allocations: 4 kB / 479.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.3479, allocations: 24 kB / 479.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.3479, allocations: 20 kB / 479.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.3494, allocations: 0.8863 MB / 480.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.3534, allocations: 2.798 MB / 483.4 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.3554, allocations: 2.034 MB / 485.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-05/0.3555, allocations: 93.53 kB / 485.6 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3556, allocations: 35 kB / 485.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.455e-06/0.3556, allocations: 0 / 485.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001967/0.3576, allocations: 1.086 MB / 486.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.3576, allocations: 81.55 kB / 486.8 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.3579, allocations: 274.4 kB / 487 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.358, allocations: 41.64 kB / 487.1 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3581, allocations: 288 kB / 487.4 MB, free: 288 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3583, allocations: 173.5 kB / 487.5 MB, free: 112 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3583, allocations: 12 kB / 487.5 MB, free: 100 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3585, allocations: 350.9 kB / 487.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.3589, allocations: 233.2 kB / 488.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.3595, allocations: 440.8 kB / 488.5 MB, free: 15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.36, allocations: 280.2 kB / 488.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.36, allocations: 4 kB / 488.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001341/0.3614, allocations: 0.7592 MB / 489.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009251/0.3623, allocations: 2.447 MB / 492 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3623, allocations: 8 kB / 492 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.3626, allocations: 60.83 kB / 492.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.3631, allocations: 147.7 kB / 492.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3647, allocations: 1.608 MB / 493.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.3651, allocations: 83.25 kB / 493.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.3652, allocations: 31.98 kB / 494 MB, free: 9.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.3652, allocations: 7.984 kB / 494 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/0.3664, allocations: 0.6838 MB / 494.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3664, allocations: 8 kB / 494.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.3666, allocations: 57.27 kB / 494.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.3671, allocations: 135.8 kB / 494.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.3684, allocations: 1.531 MB / 496.4 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.3688, allocations: 63.44 kB / 496.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.3688, allocations: 35.98 kB / 496.5 MB, free: 6.586 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003069/0.3691, allocations: 264.9 kB / 496.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.3692, allocations: 43.58 kB / 496.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3705, allocations: 0.6826 MB / 497.5 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.3706, allocations: 11.95 kB / 497.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3706, allocations: 0 / 497.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3706, allocations: 0 / 497.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.3726, allocations: 1.39 MB / 498.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3727, allocations: 0 / 498.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.3731, allocations: 99.88 kB / 499 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.3733, allocations: 64.69 kB / 499 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.3733, allocations: 15.98 kB / 499 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.3747, allocations: 1.6 MB / 0.4889 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3748, allocations: 0 / 0.4889 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3765, allocations: 1.025 MB / 0.4899 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.3767, allocations: 164.5 kB / 0.4901 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.3768, allocations: 8 kB / 0.4901 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.3771, allocations: 36.03 kB / 0.4901 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.3772, allocations: 36.34 kB / 0.4901 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.3772, allocations: 19.98 kB / 0.4902 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3774, allocations: 209.9 kB / 0.4904 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3774, allocations: 0 / 0.4904 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001064/0.3785, allocations: 291.1 kB / 0.4906 GB, free: 400 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1765/0.555, allocations: 1.611 MB / 0.4922 GB, free: 102.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.5574, allocations: 1.204 MB / 0.4934 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5574, allocations: 0 / 0.4934 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.5581, allocations: 431.8 kB / 0.4938 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.5585, allocations: 36.72 kB / 0.4938 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/0.5656, allocations: 7.695 MB / 0.5013 GB, free: 96.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.5659, allocations: 0.8531 MB / 0.5022 GB, free: 96.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001423/0.5674, allocations: 1.091 MB / 0.5032 GB, free: 96.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.5676, allocations: 189.1 kB / 0.5034 GB, free: 96.15 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5676, allocations: 0 / 0.5034 GB, free: 96.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.5884, allocations: 9.734 MB / 0.5129 GB, free: 95.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/0.5885, allocations: 221 kB / 0.5131 GB, free: 95.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.83, allocations: 7.906 kB / 0.5131 GB, free: 95.18 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat