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.001538/0.001538, allocations: 181.2 kB / 13.66 MB, free: 1.664 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.99/1.99, allocations: 205.2 MB / 219.4 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.001105/0.001105, allocations: 98.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.413e-05, allocations: 4 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.09972, allocations: 47.58 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5181, allocations: 81.29 MB / 450.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5184, allocations: 81.14 kB / 450.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06596/0.5844, allocations: 16.16 MB / 466.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5845, allocations: 0 / 466.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.5845, allocations: 15.94 kB / 466.7 MB, free: 13.35 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.002629/0.5871, allocations: 0.7567 MB / 467.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.5872, allocations: 11.97 kB / 467.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002902/0.5875, allocations: 99.83 kB / 467.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/0.5921, allocations: 443 kB / 468 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.5929, allocations: 306.3 kB / 468.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.5929, allocations: 45.27 kB / 468.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.5931, allocations: 63.98 kB / 468.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.5947, allocations: 0.5259 MB / 469 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.5947, allocations: 0 / 469 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5949, allocations: 24 kB / 469 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5949, allocations: 19.94 kB / 469 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.5966, allocations: 0.5987 MB / 469.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.602, allocations: 2.065 MB / 471.7 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/0.6061, allocations: 2.981 MB / 474.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.6067, allocations: 203 kB / 474.9 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.6069, allocations: 93.52 kB / 474.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.145e-05/0.607, allocations: 46.94 kB / 475 MB, free: 4.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.817e-06/0.607, allocations: 3.938 kB / 475 MB, free: 4.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001419/0.6084, allocations: 424.6 kB / 475.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.6085, allocations: 63.83 kB / 475.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.6088, allocations: 183.6 kB / 475.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.6089, allocations: 37.7 kB / 475.7 MB, free: 3.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.6091, allocations: 306.5 kB / 476 MB, free: 3.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.6093, allocations: 161.7 kB / 476.1 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.6094, allocations: 12 kB / 476.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6096, allocations: 330.8 kB / 476.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.61, allocations: 141.1 kB / 476.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.6105, allocations: 258 kB / 476.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.6111, allocations: 181.6 kB / 477 MB, free: 2.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.6111, allocations: 0 / 477 MB, free: 2.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001602/0.6127, allocations: 0.5354 MB / 477.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.6128, allocations: 8 kB / 477.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.6128, allocations: 4 kB / 477.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/0.6134, allocations: 101.1 kB / 477.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/0.6142, allocations: 111.8 kB / 477.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.6174, allocations: 1.842 MB / 479.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.618, allocations: 59.45 kB / 479.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.6181, allocations: 20 kB / 479.7 MB, free: 15.29 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.0001857/0.6183, allocations: 128.9 kB / 479.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.6184, allocations: 31.62 kB / 479.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.6201, allocations: 0.5197 MB / 480.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.6201, allocations: 7.953 kB / 480.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6202, allocations: 12 kB / 480.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6202, allocations: 3.984 kB / 480.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.6228, allocations: 1.106 MB / 481.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.6229, allocations: 3.984 kB / 481.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.6236, allocations: 79.91 kB / 481.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/0.6241, allocations: 80.81 kB / 481.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.6241, allocations: 12 kB / 481.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/0.6272, allocations: 1.839 MB / 483.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.6272, allocations: 4.047 kB / 483.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.6293, allocations: 0.753 MB / 484.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.6295, allocations: 108.7 kB / 484.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.6296, allocations: 12 kB / 484.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.63, allocations: 19.98 kB / 484.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.6302, allocations: 36.39 kB / 484.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.6303, allocations: 15.98 kB / 484.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.6305, allocations: 152.2 kB / 484.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6305, allocations: 4 kB / 484.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009289/0.6314, allocations: 155.5 kB / 484.8 MB, free: 9.977 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.00266/0.6341, allocations: 1.342 MB / 486.1 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.6358, allocations: 0.5541 MB / 486.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6359, allocations: 0 / 486.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008632/0.6367, allocations: 373.6 kB / 487 MB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.6372, allocations: 20.19 kB / 487.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.6425, allocations: 1.23 MB / 488.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.6432, allocations: 0.8293 MB / 489.1 MB, free: 5.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.6436, allocations: 147.4 kB / 489.3 MB, free: 5.367 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6436, allocations: 0 / 489.3 MB, free: 5.367 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.129/3.773, allocations: 8.16 MB / 497.4 MB, free: 13.2 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