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.001139/0.001139, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.435/1.435, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008223/0.000822, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.593e-05, allocations: 3.984 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.08979, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2883/0.3782, allocations: 81.29 MB / 451.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.3784, allocations: 84.64 kB / 451.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03814/0.4165, allocations: 16.16 MB / 467.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4166, allocations: 0 / 467.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.4166, allocations: 8 kB / 467.7 MB, free: 13.11 MB / 346.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.001649/0.4183, allocations: 0.7684 MB / 468.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4183, allocations: 8.031 kB / 468.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.4185, allocations: 103.8 kB / 468.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.4212, allocations: 431 kB / 469 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.4216, allocations: 318.2 kB / 469.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.4216, allocations: 45.27 kB / 469.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.4217, allocations: 56 kB / 469.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.4227, allocations: 0.522 MB / 469.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.4227, allocations: 4 kB / 469.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.4228, allocations: 24 kB / 469.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.4228, allocations: 15.94 kB / 469.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/0.4238, allocations: 0.5987 MB / 470.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.4268, allocations: 2.069 MB / 472.6 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.4292, allocations: 2.989 MB / 475.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.4295, allocations: 203 kB / 475.8 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.4296, allocations: 97.52 kB / 475.9 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4296, allocations: 35 kB / 475.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.244e-06/0.4297, allocations: 7.938 kB / 475.9 MB, free: 4.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008236/0.4305, allocations: 432.5 kB / 476.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4305, allocations: 55.84 kB / 476.4 MB, free: 3.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.4307, allocations: 187.6 kB / 476.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.4308, allocations: 29.7 kB / 476.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.4309, allocations: 244 kB / 476.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.431, allocations: 169.6 kB / 477 MB, free: 2.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.4311, allocations: 12 kB / 477 MB, free: 2.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4312, allocations: 334.8 kB / 477.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4314, allocations: 141.1 kB / 477.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.4317, allocations: 257.9 kB / 477.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.432, allocations: 181.6 kB / 477.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.432, allocations: 0 / 477.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008766/0.4329, allocations: 0.5433 MB / 478.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.433, allocations: 8 kB / 478.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.433, allocations: 4 kB / 478.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.4333, allocations: 92.91 kB / 478.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.4337, allocations: 107.9 kB / 478.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.4356, allocations: 1.842 MB / 480.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.4359, allocations: 63.42 kB / 480.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.436, allocations: 24.08 kB / 480.6 MB, free: 15.09 MB / 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 () * 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.0001225/0.4361, allocations: 132.9 kB / 480.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.4362, allocations: 23.72 kB / 480.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009453/0.4371, allocations: 0.5236 MB / 481.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.4371, allocations: 7.953 kB / 481.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4371, allocations: 3.984 kB / 481.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4372, allocations: 0 / 481.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.4387, allocations: 1.114 MB / 482.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4387, allocations: 0 / 482.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.4391, allocations: 79.84 kB / 482.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.4393, allocations: 92.94 kB / 482.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.4394, allocations: 11.98 kB / 482.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.441, allocations: 1.835 MB / 484.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.441, allocations: 3.953 kB / 484.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.4421, allocations: 0.7454 MB / 485.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.4422, allocations: 120.8 kB / 485.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.4423, allocations: 8 kB / 485.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.4425, allocations: 19.98 kB / 485.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.4426, allocations: 32.39 kB / 485.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.4426, allocations: 19.98 kB / 485.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.4428, allocations: 148.1 kB / 485.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4428, allocations: 0 / 485.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006371/0.4435, allocations: 163.5 kB / 485.7 MB, free: 9.777 MB / 362.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 () * 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.001487/0.445, allocations: 1.349 MB / 487 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009388/0.4459, allocations: 0.5503 MB / 487.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4459, allocations: 0 / 487.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.4464, allocations: 369.5 kB / 487.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4467, allocations: 28.17 kB / 488 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.4499, allocations: 1.201 MB / 489.2 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4503, allocations: 0.8254 MB / 490 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.4505, allocations: 55.2 kB / 490 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.4507, allocations: 147.4 kB / 490.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4508, allocations: 0 / 490.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.4722, allocations: 7.285 MB / 497.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/0.4725, allocations: 199.5 kB / 497.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.374, allocations: 3.938 kB / 497.7 MB, free: 13.62 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