Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.00109/0.00109, allocations: 179.7 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.334/1.334, allocations: 205.4 MB / 223.1 MB, free: 9.105 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.0008449/0.0008448, allocations: 92.11 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002802, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2637, allocations: 47.56 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09706/0.3608, allocations: 81.39 MB / 457.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.3611, allocations: 83.95 kB / 457.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04035/0.4015, allocations: 16.2 MB / 473.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4015, allocations: 0 / 473.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.4016, allocations: 8 kB / 473.6 MB, free: 14.8 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001922/0.4035, allocations: 0.78 MB / 474.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4036, allocations: 8.031 kB / 474.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.4038, allocations: 99.83 kB / 474.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/0.4067, allocations: 439 kB / 474.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.4072, allocations: 310.3 kB / 475.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.4073, allocations: 57.25 kB / 475.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4074, allocations: 55.98 kB / 475.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4084, allocations: 0.5492 MB / 475.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4085, allocations: 4 kB / 475.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.4085, allocations: 24 kB / 475.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.4086, allocations: 15.94 kB / 475.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.4097, allocations: 0.6492 MB / 476.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.4131, allocations: 2.07 MB / 478.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.4158, allocations: 3.019 MB / 481.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.4159, allocations: 85.55 kB / 481.7 MB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.416, allocations: 39 kB / 481.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.887e-06/0.416, allocations: 0 / 481.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.00187/0.4179, allocations: 0.817 MB / 482.6 MB, free: 4.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.4179, allocations: 55.84 kB / 482.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.4181, allocations: 179.7 kB / 482.8 MB, free: 4.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.4182, allocations: 29.7 kB / 482.8 MB, free: 4.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4183, allocations: 248 kB / 483.1 MB, free: 4.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.4184, allocations: 169.6 kB / 483.3 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.4185, allocations: 8 kB / 483.3 MB, free: 4.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4186, allocations: 346.8 kB / 483.6 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.4189, allocations: 157 kB / 483.8 MB, free: 3.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.4193, allocations: 277.9 kB / 484 MB, free: 3.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.4196, allocations: 196.8 kB / 484.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4196, allocations: 0 / 484.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001008/0.4207, allocations: 0.5942 MB / 484.8 MB, free: 2.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4207, allocations: 8 kB / 484.8 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4207, allocations: 4 kB / 484.8 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.421, allocations: 92.73 kB / 484.9 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.4215, allocations: 107.9 kB / 485 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.4235, allocations: 1.878 MB / 486.9 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.4239, allocations: 47.53 kB / 486.9 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.424, allocations: 28.05 kB / 487 MB, free: 336 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.4242, allocations: 177.7 kB / 487.1 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/0.4243, allocations: 27.62 kB / 487.2 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4255, allocations: 0.5629 MB / 487.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4255, allocations: 8 kB / 487.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4255, allocations: 0 / 487.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4255, allocations: 7.938 kB / 487.7 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.4273, allocations: 1.149 MB / 488.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4273, allocations: 3.938 kB / 488.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.4276, allocations: 83.91 kB / 489 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.4279, allocations: 84.8 kB / 489.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.428, allocations: 8 kB / 489.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.4299, allocations: 1.862 MB / 490.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4299, allocations: 3.984 kB / 490.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.4312, allocations: 0.8116 MB / 491.7 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4313, allocations: 112.6 kB / 491.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.4313, allocations: 12 kB / 491.9 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.4316, allocations: 28.05 kB / 491.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.4317, allocations: 32.67 kB / 491.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.4317, allocations: 16 kB / 491.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.4318, allocations: 148.1 kB / 492.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4318, allocations: 3.938 kB / 492.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006364/0.4325, allocations: 159.5 kB / 492.3 MB, free: 10.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/0.4342, allocations: 1.395 MB / 493.6 MB, free: 9.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4353, allocations: 0.6013 MB / 494.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4354, allocations: 0 / 494.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.4359, allocations: 389.5 kB / 494.6 MB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4362, allocations: 28.12 kB / 494.7 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.4423, allocations: 4.765 MB / 499.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4427, allocations: 0.8253 MB / 0.4885 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.4429, allocations: 51.27 kB / 0.4886 GB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.4431, allocations: 147.4 kB / 0.4887 GB, free: 2.406 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4431, allocations: 0 / 0.4887 GB, free: 2.406 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1933/0.6364, allocations: 7.064 MB / 0.4956 GB, free: 104.4 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.6366, allocations: 227.9 kB / 0.4958 GB, free: 104.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.545, allocations: 1.5 kB / 0.4958 GB, free: 104.1 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat