Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",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.001448/0.001447, allocations: 175.5 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.356/1.356, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008911/0.0008911, allocations: 91.05 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.747e-05, allocations: 4 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09055, allocations: 50.41 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3025/0.3931, allocations: 84.43 MB / 478.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3934, allocations: 79.94 kB / 478.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03874/0.4321, allocations: 16.51 MB / 495.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4322, allocations: 0 / 495.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.4322, allocations: 12 kB / 495.4 MB, free: 2.273 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001701/0.4339, allocations: 0.8076 MB / 496.2 MB, free: 1.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.434, allocations: 8.031 kB / 496.2 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.4341, allocations: 107.7 kB / 496.3 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.436, allocations: 299.1 kB / 496.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.4364, allocations: 342.9 kB / 496.9 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.4365, allocations: 49.31 kB / 497 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.4366, allocations: 56 kB / 497 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4377, allocations: 0.6941 MB / 497.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.4377, allocations: 7.891 kB / 497.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.4378, allocations: 28 kB / 497.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4378, allocations: 16 kB / 497.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.4388, allocations: 0.6807 MB / 498.4 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.4422, allocations: 2.417 MB / 0.4891 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.4436, allocations: 1.22 MB / 0.4903 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.444, allocations: 231 kB / 0.4905 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.717e-05/0.4441, allocations: 93.47 kB / 0.4906 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4441, allocations: 35.34 kB / 0.4907 GB, free: 10.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/0.4441, allocations: 4 kB / 0.4907 GB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009092/0.445, allocations: 0.4997 MB / 0.4912 GB, free: 10.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4451, allocations: 84.86 kB / 0.4912 GB, free: 10.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.4454, allocations: 234.9 kB / 0.4915 GB, free: 9.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.4454, allocations: 37.7 kB / 0.4915 GB, free: 9.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4456, allocations: 248.3 kB / 0.4917 GB, free: 9.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4457, allocations: 153.7 kB / 0.4919 GB, free: 9.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.4458, allocations: 12 kB / 0.4919 GB, free: 9.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4459, allocations: 350.8 kB / 0.4922 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.4462, allocations: 185.1 kB / 0.4924 GB, free: 8.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.4465, allocations: 320.3 kB / 0.4927 GB, free: 8.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.4469, allocations: 217.8 kB / 0.4929 GB, free: 8.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4469, allocations: 0 / 0.4929 GB, free: 8.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001057/0.448, allocations: 0.6125 MB / 0.4935 GB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006647/0.4486, allocations: 1.399 MB / 0.4949 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.4487, allocations: 4 kB / 0.4949 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.449, allocations: 56.84 kB / 0.4949 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.4495, allocations: 115.8 kB / 0.495 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.4509, allocations: 1.58 MB / 0.4966 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.4513, allocations: 67.42 kB / 0.4967 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.4514, allocations: 28.05 kB / 0.4967 GB, free: 4.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.4514, allocations: 4 kB / 0.4967 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009646/0.4524, allocations: 0.5435 MB / 0.4972 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4524, allocations: 8.062 kB / 0.4972 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.4526, allocations: 52.83 kB / 0.4973 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.453, allocations: 103.9 kB / 0.4974 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.4541, allocations: 1.512 MB / 0.4988 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.4545, allocations: 55.52 kB / 0.4989 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4545, allocations: 24.05 kB / 0.4989 GB, free: 1.789 MB / 378.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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.4547, allocations: 132.9 kB / 0.499 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.4548, allocations: 31.58 kB / 0.4991 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.4559, allocations: 0.5981 MB / 0.4997 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.4559, allocations: 4 kB / 0.4997 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4559, allocations: 4 kB / 0.4997 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.456, allocations: 11.88 kB / 0.4997 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.4577, allocations: 1.252 MB / 0.5009 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4577, allocations: 0 / 0.5009 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.4581, allocations: 95.88 kB / 0.501 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.4583, allocations: 52.83 kB / 0.501 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.4584, allocations: 15.98 kB / 0.5011 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.4597, allocations: 1.58 MB / 0.5026 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4597, allocations: 0 / 0.5026 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.461, allocations: 0.9091 MB / 0.5035 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.4612, allocations: 144.7 kB / 0.5036 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.4612, allocations: 16.11 kB / 0.5036 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.4615, allocations: 27.98 kB / 0.5037 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.4616, allocations: 32.39 kB / 0.5037 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.4617, allocations: 19.98 kB / 0.5037 GB, free: 12.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.4618, allocations: 187.1 kB / 0.5039 GB, free: 12.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4619, allocations: 0 / 0.5039 GB, free: 12.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008725/0.4627, allocations: 271 kB / 0.5042 GB, free: 12.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/0.4645, allocations: 1.502 MB / 0.5056 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.4661, allocations: 1.038 MB / 0.5066 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4661, allocations: 0 / 0.5066 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.4666, allocations: 389.2 kB / 0.507 GB, free: 9.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.4669, allocations: 37.48 kB / 0.507 GB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4684, allocations: 0.7601 MB / 0.5078 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.4688, allocations: 0.8408 MB / 0.5086 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001321/0.4701, allocations: 1.087 MB / 0.5097 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.4704, allocations: 159.4 kB / 0.5098 GB, free: 6.246 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4704, allocations: 0 / 0.5098 GB, free: 6.246 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.4949, allocations: 9.558 MB / 0.5192 GB, free: 12.86 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.4951, allocations: 194.8 kB / 0.5193 GB, free: 12.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.588, allocations: 64 / 0.5193 GB, free: 12.64 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat