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.002276/0.002276, allocations: 181.6 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 2.18/2.18, 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.001089/0.001089, allocations: 93.78 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.089e-05, allocations: 0 / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 47.58 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.5031, allocations: 81.29 MB / 450.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.5034, allocations: 78.58 kB / 450.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06359/0.567, allocations: 16.25 MB / 466.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5671, allocations: 0 / 466.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.5671, allocations: 12 kB / 466.8 MB, free: 13.25 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.002403/0.5695, allocations: 0.7606 MB / 467.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.5696, allocations: 8.031 kB / 467.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002335/0.5699, allocations: 107.8 kB / 467.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/0.5742, allocations: 431 kB / 468.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.5749, allocations: 322.3 kB / 468.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.575, allocations: 49.2 kB / 468.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.5751, allocations: 56 kB / 468.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5767, allocations: 0.5415 MB / 469.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.5767, allocations: 0 / 469.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/0.5768, allocations: 27.94 kB / 469.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5769, allocations: 20 kB / 469.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.5786, allocations: 0.6065 MB / 469.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/0.5842, allocations: 2.11 MB / 471.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.5882, allocations: 2.976 MB / 474.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007426/0.589, allocations: 247 kB / 475 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.5891, allocations: 93.53 kB / 475.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.5892, allocations: 42.92 kB / 475.2 MB, free: 4.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.736e-06/0.5892, allocations: 4 kB / 475.2 MB, free: 4.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001395/0.5906, allocations: 428.5 kB / 475.6 MB, free: 3.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.5907, allocations: 59.84 kB / 475.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.591, allocations: 191.5 kB / 475.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.5911, allocations: 33.7 kB / 475.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.5913, allocations: 302.5 kB / 476.2 MB, free: 3.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.5915, allocations: 169.5 kB / 476.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.5915, allocations: 8 kB / 476.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5917, allocations: 334.8 kB / 476.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.5921, allocations: 141.1 kB / 476.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.5927, allocations: 267.7 kB / 477.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.5932, allocations: 177.6 kB / 477.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5932, allocations: 0 / 477.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001608/0.5948, allocations: 0.5475 MB / 477.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.5949, allocations: 11.44 kB / 477.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5949, allocations: 7.938 kB / 477.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005205/0.5954, allocations: 76.81 kB / 477.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/0.5963, allocations: 119.8 kB / 478 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.5989, allocations: 1.636 MB / 479.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.5995, allocations: 55.45 kB / 479.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.5996, allocations: 28 kB / 479.7 MB, free: 15.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001863/0.5998, allocations: 132.8 kB / 479.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.5999, allocations: 31.62 kB / 479.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.6015, allocations: 0.5198 MB / 480.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.6015, allocations: 4 kB / 480.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6016, allocations: 4 kB / 480.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.6016, allocations: 3.984 kB / 480.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.6044, allocations: 1.15 MB / 481.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6044, allocations: 4 kB / 481.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.6051, allocations: 83.89 kB / 481.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/0.6056, allocations: 76.89 kB / 481.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.6056, allocations: 11.98 kB / 481.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.6081, allocations: 1.632 MB / 483.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6081, allocations: 0 / 483.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.6101, allocations: 0.7863 MB / 484.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.6102, allocations: 120.6 kB / 484.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.6103, allocations: 12 kB / 484.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.6108, allocations: 19.98 kB / 484.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.6109, allocations: 40.38 kB / 484.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.611, allocations: 23.95 kB / 484.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.6112, allocations: 144.3 kB / 484.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6112, allocations: 0 / 484.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.612, allocations: 163.5 kB / 484.7 MB, free: 10.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.002533/0.6146, allocations: 1.508 MB / 486.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.6161, allocations: 0.5511 MB / 486.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6161, allocations: 4.062 kB / 486.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.617, allocations: 368.8 kB / 487.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.6174, allocations: 30.53 kB / 487.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.6224, allocations: 1.243 MB / 488.4 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.623, allocations: 0.8293 MB / 489.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.6234, allocations: 147.4 kB / 489.3 MB, free: 5.242 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6234, allocations: 0 / 489.3 MB, free: 5.242 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.57/3.194, allocations: 8.397 MB / 497.7 MB, free: 12.83 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