Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001509/0.001509, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001165/0.001165, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004774, allocations: 8 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.349, allocations: 47.56 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4849, allocations: 81.38 MB / 456 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.4853, allocations: 79.95 kB / 456.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06764/0.553, allocations: 16.21 MB / 472.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.011e-06/0.553, allocations: 4 kB / 472.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.5531, allocations: 8 kB / 472.3 MB, free: 14.77 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.002833/0.5559, allocations: 0.7761 MB / 473.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.556, allocations: 16.02 kB / 473.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000337/0.5564, allocations: 95.83 kB / 473.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.5612, allocations: 438.9 kB / 473.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.562, allocations: 314.3 kB / 473.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.5621, allocations: 49.27 kB / 474 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.5623, allocations: 56 kB / 474 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.5642, allocations: 0.5492 MB / 474.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.5643, allocations: 4 kB / 474.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.5645, allocations: 20 kB / 474.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.5645, allocations: 23.88 kB / 474.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.5668, allocations: 0.6493 MB / 475.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.5727, allocations: 2.07 MB / 477.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.577, allocations: 3.015 MB / 480.4 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.5773, allocations: 85.55 kB / 480.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.5773, allocations: 39 kB / 480.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 5.41e-06/0.5773, allocations: 0 / 480.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.00351/0.5809, allocations: 0.8092 MB / 481.3 MB, free: 4.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.581, allocations: 59.84 kB / 481.4 MB, free: 4.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.5813, allocations: 171.7 kB / 481.5 MB, free: 4.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.662e-05/0.5814, allocations: 37.7 kB / 481.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.5816, allocations: 314.4 kB / 481.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.5819, allocations: 165.6 kB / 482 MB, free: 4.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.5819, allocations: 12 kB / 482 MB, free: 4.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5821, allocations: 338.8 kB / 482.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.5826, allocations: 161 kB / 482.5 MB, free: 3.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.5833, allocations: 269.9 kB / 482.8 MB, free: 3.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/0.584, allocations: 200.8 kB / 483 MB, free: 3.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.584, allocations: 4 kB / 483 MB, free: 3.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001945/0.586, allocations: 0.5787 MB / 483.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.586, allocations: 11.94 kB / 483.6 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.586, allocations: 4 kB / 483.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.5866, allocations: 96.73 kB / 483.7 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/0.5875, allocations: 103.9 kB / 483.8 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.5907, allocations: 1.878 MB / 485.7 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.5913, allocations: 55.59 kB / 485.7 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.5914, allocations: 23.98 kB / 485.7 MB, free: 268 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.0003432/0.5917, allocations: 173.7 kB / 485.9 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.5918, allocations: 27.62 kB / 485.9 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.5939, allocations: 0.5707 MB / 486.5 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.594, allocations: 4 kB / 486.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.594, allocations: 0 / 486.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.594, allocations: 7.938 kB / 486.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.5972, allocations: 1.145 MB / 487.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5972, allocations: 3.938 kB / 487.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.5979, allocations: 83.91 kB / 487.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/0.5985, allocations: 84.98 kB / 487.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.233e-05/0.5986, allocations: 11.94 kB / 487.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.6018, allocations: 1.858 MB / 489.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6019, allocations: 3.984 kB / 489.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.6045, allocations: 0.8116 MB / 490.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.6048, allocations: 116.7 kB / 490.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.6049, allocations: 8 kB / 490.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.6053, allocations: 28.05 kB / 490.7 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.6055, allocations: 32.39 kB / 490.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.6056, allocations: 16 kB / 490.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.6058, allocations: 148.1 kB / 490.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.866e-06/0.6058, allocations: 0 / 490.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009735/0.6068, allocations: 167.5 kB / 491 MB, free: 10.72 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.003147/0.61, allocations: 1.395 MB / 492.4 MB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.612, allocations: 0.601 MB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.612, allocations: 0 / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.6132, allocations: 397.8 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.6136, allocations: 21.39 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009911/0.6235, allocations: 4.794 MB / 498.2 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.6241, allocations: 0.8292 MB / 499.1 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.6246, allocations: 151.4 kB / 499.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6246, allocations: 0 / 499.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.894/3.519, allocations: 8.045 MB / 0.4954 GB, free: 103 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat