Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.3 MB / 235.5 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 93.73 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.136e-05, allocations: 0 / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09046, allocations: 50.42 MB / 394.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3079/0.3984, allocations: 82.75 MB / 477.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.3987, allocations: 75.95 kB / 477.2 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03597/0.4347, allocations: 15.58 MB / 492.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4347, allocations: 4 kB / 492.8 MB, free: 4.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.4348, allocations: 8 kB / 492.8 MB, free: 4.879 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001503/0.4363, allocations: 0.7492 MB / 493.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4363, allocations: 8.031 kB / 493.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.4365, allocations: 95.83 kB / 493.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.4387, allocations: 367 kB / 494 MB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.4392, allocations: 310.4 kB / 494.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.4392, allocations: 37.31 kB / 494.3 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/0.4393, allocations: 56 kB / 494.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009455/0.4403, allocations: 0.4947 MB / 494.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.4403, allocations: 3.938 kB / 494.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/0.4404, allocations: 24 kB / 494.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.4404, allocations: 19.95 kB / 494.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.4413, allocations: 0.5363 MB / 495.4 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.4443, allocations: 1.933 MB / 497.4 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.4462, allocations: 2.145 MB / 499.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.4466, allocations: 242.1 kB / 499.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-05/0.4467, allocations: 93.55 kB / 499.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.4467, allocations: 35 kB / 499.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/0.4467, allocations: 3.938 kB / 499.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008025/0.4475, allocations: 416.5 kB / 0.4886 GB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4476, allocations: 55.84 kB / 0.4886 GB, free: 12.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4478, allocations: 170.5 kB / 0.4888 GB, free: 12.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.4478, allocations: 37.7 kB / 0.4888 GB, free: 12.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4479, allocations: 224.3 kB / 0.489 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.448, allocations: 157.7 kB / 0.4892 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.4481, allocations: 8 kB / 0.4892 GB, free: 12.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4482, allocations: 338.8 kB / 0.4895 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.4484, allocations: 133.1 kB / 0.4896 GB, free: 11.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.4487, allocations: 218.6 kB / 0.4899 GB, free: 11.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.4489, allocations: 165.6 kB / 0.49 GB, free: 11.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.4489, allocations: 4 kB / 0.49 GB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008204/0.4498, allocations: 0.5006 MB / 0.4905 GB, free: 10.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4498, allocations: 5.406 kB / 0.4905 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4498, allocations: 4 kB / 0.4905 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.4501, allocations: 72.81 kB / 0.4906 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.4505, allocations: 99.83 kB / 0.4907 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.452, allocations: 1.633 MB / 0.4923 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.4523, allocations: 55.58 kB / 0.4923 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.4524, allocations: 16 kB / 0.4923 GB, free: 8.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001108/0.4525, allocations: 136.8 kB / 0.4925 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.4525, allocations: 31.64 kB / 0.4925 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009192/0.4535, allocations: 0.5041 MB / 0.493 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4535, allocations: 4 kB / 0.493 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4535, allocations: 8 kB / 0.493 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4535, allocations: 0 / 0.493 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.455, allocations: 1.134 MB / 0.4941 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.455, allocations: 0 / 0.4941 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.4553, allocations: 83.89 kB / 0.4942 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.4556, allocations: 76.8 kB / 0.4943 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.4556, allocations: 12 kB / 0.4943 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.4571, allocations: 1.628 MB / 0.4959 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4571, allocations: 8 kB / 0.4959 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4582, allocations: 0.7745 MB / 0.4966 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.4583, allocations: 108.7 kB / 0.4967 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.4583, allocations: 12 kB / 0.4967 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.4585, allocations: 23.98 kB / 0.4968 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.4586, allocations: 36.34 kB / 0.4968 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.4587, allocations: 16 kB / 0.4968 GB, free: 3.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4588, allocations: 136.3 kB / 0.497 GB, free: 3.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4588, allocations: 4.062 kB / 0.497 GB, free: 3.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005401/0.4593, allocations: 159.5 kB / 0.4971 GB, free: 3.477 MB / 378.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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/0.461, allocations: 1.508 MB / 0.4986 GB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009479/0.4619, allocations: 0.5268 MB / 0.4991 GB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4619, allocations: 0.5625 kB / 0.4991 GB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.4624, allocations: 364.9 kB / 0.4994 GB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.4627, allocations: 24.72 kB / 0.4995 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.464, allocations: 0.6676 MB / 0.5001 GB, free: 292 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.4645, allocations: 0.8166 MB / 0.5009 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.4647, allocations: 50.95 kB / 0.501 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.4649, allocations: 131.4 kB / 0.5011 GB, free: 15.27 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4649, allocations: 0 / 0.5011 GB, free: 15.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.5027, allocations: 7.09 MB / 0.508 GB, free: 8.344 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.503, allocations: 203.5 kB / 0.5082 GB, free: 8.113 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.411, allocations: 0 / 0.5082 GB, free: 8.113 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat