Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009406/0.0009408, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.386/1.386, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008658/0.0008658, allocations: 95.81 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2469, allocations: 47.56 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09855/0.3455, allocations: 81.39 MB / 457.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.3458, allocations: 87.95 kB / 457.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03822/0.3841, allocations: 16.29 MB / 473.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3841, allocations: 0 / 473.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.3841, allocations: 12 kB / 473.7 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.001768/0.3859, allocations: 0.7684 MB / 474.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.386, allocations: 12.03 kB / 474.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.3862, allocations: 107.8 kB / 474.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.3889, allocations: 438.9 kB / 475 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.3893, allocations: 322.2 kB / 475.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.3894, allocations: 45.27 kB / 475.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.3895, allocations: 59.98 kB / 475.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3905, allocations: 0.5648 MB / 476 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3906, allocations: 0 / 476 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.3906, allocations: 23.98 kB / 476 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3906, allocations: 16 kB / 476 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3918, allocations: 0.6649 MB / 476.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.3949, allocations: 2.111 MB / 478.8 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.3973, allocations: 2.996 MB / 481.8 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.3975, allocations: 97.52 kB / 481.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3975, allocations: 35 kB / 481.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.063e-06/0.3975, allocations: 4 kB / 481.9 MB, free: 5.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001643/0.3992, allocations: 0.7626 MB / 482.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3992, allocations: 59.84 kB / 482.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3994, allocations: 191.4 kB / 482.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3994, allocations: 33.7 kB / 483 MB, free: 4.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3996, allocations: 236.1 kB / 483.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3997, allocations: 173.5 kB / 483.4 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.3997, allocations: 8 kB / 483.4 MB, free: 4.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3999, allocations: 342.8 kB / 483.7 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.4002, allocations: 165 kB / 483.9 MB, free: 3.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.4006, allocations: 281.9 kB / 484.1 MB, free: 3.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.4009, allocations: 204.8 kB / 484.3 MB, free: 3.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4009, allocations: 4 kB / 484.4 MB, free: 3.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001019/0.402, allocations: 0.5981 MB / 485 MB, free: 2.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.402, allocations: 8 kB / 485 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.402, allocations: 4 kB / 485 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.4023, allocations: 76.81 kB / 485 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.4028, allocations: 119.8 kB / 485.2 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4045, allocations: 1.664 MB / 486.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.4048, allocations: 59.42 kB / 486.9 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.4048, allocations: 24 kB / 486.9 MB, free: 420 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.0002187/0.4051, allocations: 165.7 kB / 487.1 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.4051, allocations: 35.67 kB / 487.1 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4063, allocations: 0.567 MB / 487.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4063, allocations: 11.94 kB / 487.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4063, allocations: 0 / 487.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.4063, allocations: 3.984 kB / 487.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.408, allocations: 1.188 MB / 488.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.408, allocations: 0 / 488.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.4084, allocations: 87.89 kB / 489 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.4086, allocations: 80.8 kB / 489 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.4087, allocations: 4 kB / 489 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.4103, allocations: 1.659 MB / 490.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4103, allocations: 4.031 kB / 490.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.4116, allocations: 0.8349 MB / 491.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.4117, allocations: 108.7 kB / 491.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.4117, allocations: 15.95 kB / 491.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.412, allocations: 20 kB / 491.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.4121, allocations: 36.38 kB / 491.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4121, allocations: 12 kB / 491.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.4122, allocations: 152.3 kB / 491.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4123, allocations: 0 / 491.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.4128, allocations: 163.5 kB / 492 MB, free: 11.02 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.001799/0.4146, allocations: 1.411 MB / 493.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.4157, allocations: 0.6087 MB / 494.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4157, allocations: 0 / 494.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.4163, allocations: 393.9 kB / 494.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.4165, allocations: 28.12 kB / 494.5 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.4225, allocations: 4.791 MB / 499.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.423, allocations: 0.8256 MB / 0.4884 GB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.4232, allocations: 55.25 kB / 0.4884 GB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.4235, allocations: 139.4 kB / 0.4885 GB, free: 2.59 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4235, allocations: 0 / 0.4885 GB, free: 2.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1866/0.6101, allocations: 7.122 MB / 0.4955 GB, free: 104.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.6103, allocations: 230.1 kB / 0.4957 GB, free: 104.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.515, allocations: 0 / 0.4957 GB, free: 104.1 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat