Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.001951/0.00195, allocations: 185.9 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 1.973/1.973, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001135/0.001134, allocations: 86.94 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005191, allocations: 8 kB / 327.1 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3376, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4724, allocations: 81.4 MB / 456 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.4728, allocations: 87.95 kB / 456.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06662/0.5394, allocations: 16.28 MB / 472.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5395, allocations: 0 / 472.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.5395, allocations: 12 kB / 472.4 MB, free: 14.71 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.002751/0.5423, allocations: 0.7762 MB / 473.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.5424, allocations: 12.03 kB / 473.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/0.5427, allocations: 107.8 kB / 473.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.5472, allocations: 431 kB / 473.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.5479, allocations: 322.2 kB / 474 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.548, allocations: 45.27 kB / 474.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.5482, allocations: 56 kB / 474.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.5499, allocations: 0.5687 MB / 474.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.55, allocations: 4 kB / 474.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.5501, allocations: 20 kB / 474.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.5501, allocations: 12 kB / 474.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.5522, allocations: 0.661 MB / 475.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005477/0.5577, allocations: 2.123 MB / 477.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/0.5616, allocations: 2.988 MB / 480.5 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.5618, allocations: 93.53 kB / 480.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.5619, allocations: 39 kB / 480.6 MB, free: 5.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.226e-06/0.5619, allocations: 0 / 480.6 MB, free: 5.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.00304/0.565, allocations: 0.7704 MB / 481.4 MB, free: 4.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.5651, allocations: 59.84 kB / 481.5 MB, free: 4.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.5654, allocations: 187.4 kB / 481.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/0.5655, allocations: 33.7 kB / 481.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.5657, allocations: 306.5 kB / 482 MB, free: 4.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.5659, allocations: 169.5 kB / 482.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.5659, allocations: 8 kB / 482.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5661, allocations: 334.8 kB / 482.5 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.5667, allocations: 177 kB / 482.7 MB, free: 3.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.5674, allocations: 277.9 kB / 482.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.568, allocations: 204.7 kB / 483.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5681, allocations: 0 / 483.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001886/0.57, allocations: 0.59 MB / 483.7 MB, free: 2.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.57, allocations: 11.98 kB / 483.7 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5701, allocations: 4.406 kB / 483.7 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.5706, allocations: 80.8 kB / 483.8 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.5715, allocations: 123.7 kB / 483.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/0.5755, allocations: 1.664 MB / 485.6 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.5761, allocations: 51.53 kB / 485.6 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.5762, allocations: 32.05 kB / 485.7 MB, free: 368 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 (60): * Single equations (assignments): 59 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003401/0.5766, allocations: 165.7 kB / 485.8 MB, free: 192 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.5767, allocations: 35.58 kB / 485.9 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.5786, allocations: 0.5707 MB / 486.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.5787, allocations: 11.94 kB / 486.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5787, allocations: 0 / 486.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.5787, allocations: 0 / 486.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.5817, allocations: 1.177 MB / 487.6 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5818, allocations: 0 / 487.6 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/0.5825, allocations: 87.89 kB / 487.7 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.583, allocations: 80.78 kB / 487.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.583, allocations: 12 kB / 487.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.5856, allocations: 1.652 MB / 489.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5856, allocations: 4.031 kB / 489.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.5881, allocations: 0.8349 MB / 490.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.5883, allocations: 104.8 kB / 490.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.5884, allocations: 19.95 kB / 490.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.5888, allocations: 19.98 kB / 490.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5889, allocations: 36.47 kB / 490.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.589, allocations: 11.98 kB / 490.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.5892, allocations: 148.3 kB / 490.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5892, allocations: 0 / 490.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008089/0.5901, allocations: 163.5 kB / 490.8 MB, free: 10.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0029/0.593, allocations: 1.427 MB / 492.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.5948, allocations: 0.6088 MB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5949, allocations: 3.938 kB / 492.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009921/0.5959, allocations: 393.8 kB / 493.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.5963, allocations: 28.14 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009441/0.6057, allocations: 4.813 MB / 498.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.6063, allocations: 0.8334 MB / 498.9 MB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.6067, allocations: 143.4 kB / 499 MB, free: 2.555 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6067, allocations: 0 / 499 MB, free: 2.555 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.015/3.621, allocations: 8.334 MB / 0.4955 GB, free: 103 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat