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.00146/0.00146, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.466/1.466, allocations: 205.2 MB / 219.8 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.0008577/0.0008575, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.007e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08125, allocations: 47.57 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.3769, allocations: 81.28 MB / 451.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.3771, allocations: 76.95 kB / 451.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.038/0.4152, allocations: 16.26 MB / 467.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4152, allocations: 0 / 467.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.4152, allocations: 8 kB / 467.7 MB, free: 13.01 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.001557/0.4168, allocations: 0.7606 MB / 468.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4168, allocations: 8.031 kB / 468.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.417, allocations: 107.8 kB / 468.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.4197, allocations: 435 kB / 469 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.42, allocations: 318.2 kB / 469.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.4201, allocations: 49.27 kB / 469.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/0.4202, allocations: 59.98 kB / 469.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.4211, allocations: 0.5337 MB / 470 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.4211, allocations: 3.938 kB / 470 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.4212, allocations: 24 kB / 470 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.4212, allocations: 16 kB / 470 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009123/0.4221, allocations: 0.6104 MB / 470.6 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.4253, allocations: 2.114 MB / 472.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.4277, allocations: 2.973 MB / 475.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.4281, allocations: 251 kB / 476 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.41e-05/0.4282, allocations: 93.53 kB / 476.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4282, allocations: 38.94 kB / 476.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.405e-06/0.4282, allocations: 4 kB / 476.1 MB, free: 3.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.000826/0.4291, allocations: 420.5 kB / 476.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.4291, allocations: 55.84 kB / 476.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.4293, allocations: 195.5 kB / 476.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.4294, allocations: 41.7 kB / 476.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4295, allocations: 236.1 kB / 477 MB, free: 2.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4296, allocations: 169.5 kB / 477.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.4297, allocations: 12 kB / 477.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4298, allocations: 338.8 kB / 477.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.43, allocations: 141.1 kB / 477.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.4303, allocations: 263.7 kB / 477.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.4306, allocations: 173.6 kB / 478.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4306, allocations: 8 kB / 478.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008855/0.4315, allocations: 0.5435 MB / 478.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4315, allocations: 11.94 kB / 478.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4316, allocations: 4 kB / 478.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.4319, allocations: 80.81 kB / 478.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.4323, allocations: 115.8 kB / 478.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.434, allocations: 1.64 MB / 480.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.4343, allocations: 67.42 kB / 480.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.4343, allocations: 20 kB / 480.6 MB, free: 15.08 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.0001168/0.4344, allocations: 136.8 kB / 480.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.4345, allocations: 23.72 kB / 480.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.4355, allocations: 0.5197 MB / 481.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4355, allocations: 8 kB / 481.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4355, allocations: 0 / 481.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.4355, allocations: 7.984 kB / 481.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.4371, allocations: 1.154 MB / 482.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4371, allocations: 0 / 482.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.4375, allocations: 83.89 kB / 482.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002601/0.4377, allocations: 76.81 kB / 482.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.4378, allocations: 12 kB / 482.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.4393, allocations: 1.632 MB / 484.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4394, allocations: 4.062 kB / 484.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4406, allocations: 0.7901 MB / 485 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.4407, allocations: 112.7 kB / 485.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.4407, allocations: 8 kB / 485.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.441, allocations: 23.98 kB / 485.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4412, allocations: 32.39 kB / 485.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.4412, allocations: 19.95 kB / 485.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.4413, allocations: 144.3 kB / 485.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4413, allocations: 4.062 kB / 485.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.4419, allocations: 167.5 kB / 485.5 MB, free: 9.867 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.001668/0.4436, allocations: 1.516 MB / 487.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.4447, allocations: 0.5463 MB / 487.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4447, allocations: 0.9375 kB / 487.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.4452, allocations: 372.9 kB / 488 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4455, allocations: 32.11 kB / 488 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.4489, allocations: 1.207 MB / 489.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.4493, allocations: 0.8293 MB / 490 MB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.4496, allocations: 51.27 kB / 490.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.4498, allocations: 147.4 kB / 490.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4498, allocations: 0 / 490.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.4704, allocations: 7.309 MB / 497.5 MB, free: 13.72 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.4707, allocations: 205.7 kB / 497.7 MB, free: 13.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.41, allocations: 0 / 497.7 MB, free: 13.49 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