Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001538/0.001538, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 92.66 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.479e-05, allocations: 0 / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 51.48 MB / 395.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.5058, allocations: 84.56 MB / 479.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5062, allocations: 79.17 kB / 479.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03918/0.5454, allocations: 16.94 MB / 496.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5454, allocations: 4 kB / 496.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.008e-05/0.5455, allocations: 8 kB / 496.9 MB, free: 11.11 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.00235/0.5478, allocations: 0.8066 MB / 497.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5479, allocations: 12.03 kB / 497.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.55, allocations: 301.6 kB / 498 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.5507, allocations: 343.1 kB / 498.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.5507, allocations: 20 kB / 498.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.5509, allocations: 35.61 kB / 498.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/0.552, allocations: 0.6441 MB / 499 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5532, allocations: 0.5831 MB / 499.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.5532, allocations: 0 / 499.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.5533, allocations: 0 / 499.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.5533, allocations: 16 kB / 499.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.5576, allocations: 2.327 MB / 0.4902 GB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5591, allocations: 1.128 MB / 0.4913 GB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.5594, allocations: 166.4 kB / 0.4914 GB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.5596, allocations: 174.2 kB / 0.4916 GB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.5596, allocations: 38.5 kB / 0.4916 GB, free: 5.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.685e-06/0.5596, allocations: 0 / 0.4916 GB, free: 5.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001429/0.5611, allocations: 492.8 kB / 0.4921 GB, free: 5.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.5611, allocations: 89.06 kB / 0.4922 GB, free: 4.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.5615, allocations: 250.2 kB / 0.4924 GB, free: 4.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.5615, allocations: 25.7 kB / 0.4924 GB, free: 4.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.5617, allocations: 254.2 kB / 0.4927 GB, free: 4.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.5619, allocations: 149.9 kB / 0.4928 GB, free: 4.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.5619, allocations: 0 / 0.4928 GB, free: 4.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5621, allocations: 334.8 kB / 0.4932 GB, free: 4.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.5624, allocations: 181.1 kB / 0.4933 GB, free: 3.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.5628, allocations: 303.3 kB / 0.4936 GB, free: 3.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.5639, allocations: 341.2 kB / 0.4939 GB, free: 3.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5639, allocations: 4 kB / 0.4939 GB, free: 3.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001715/0.5656, allocations: 0.6834 MB / 0.4946 GB, free: 2.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007696/0.5664, allocations: 1.4 MB / 0.496 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.5664, allocations: 4 kB / 0.496 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/0.5667, allocations: 60.78 kB / 0.496 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.5672, allocations: 111.8 kB / 0.4961 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.569, allocations: 1.517 MB / 0.4976 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.5695, allocations: 51.58 kB / 0.4977 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.5695, allocations: 31.98 kB / 0.4977 GB, free: 15.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.5696, allocations: 4 kB / 0.4977 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001593/0.5712, allocations: 0.6255 MB / 0.4983 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5712, allocations: 4 kB / 0.4983 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.5713, allocations: 45.22 kB / 0.4984 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.5718, allocations: 107.8 kB / 0.4985 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.5732, allocations: 1.453 MB / 0.4999 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.5735, allocations: 39.58 kB / 0.4999 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.5736, allocations: 23.98 kB / 0.5 GB, free: 12.69 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.0001738/0.5738, allocations: 120.8 kB / 0.5001 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001295/0.5751, allocations: 485.6 kB / 0.5005 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.5752, allocations: 35.69 kB / 0.5006 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.5767, allocations: 0.5551 MB / 0.5011 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5767, allocations: 4 kB / 0.5011 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5767, allocations: 0 / 0.5011 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5767, allocations: 3.984 kB / 0.5011 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.5789, allocations: 1.103 MB / 0.5022 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.5789, allocations: 0 / 0.5022 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.5793, allocations: 87.89 kB / 0.5023 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/0.5795, allocations: 40.84 kB / 0.5023 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.5795, allocations: 11.98 kB / 0.5023 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.5811, allocations: 1.525 MB / 0.5038 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5811, allocations: 3.938 kB / 0.5038 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.5828, allocations: 0.7959 MB / 0.5046 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.583, allocations: 148.7 kB / 0.5047 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.5831, allocations: 5.734 kB / 0.5047 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.5834, allocations: 20.05 kB / 0.5048 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.5834, allocations: 36.39 kB / 0.5048 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.5835, allocations: 8 kB / 0.5048 GB, free: 7.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.5837, allocations: 184.2 kB / 0.505 GB, free: 7.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.657e-06/0.5837, allocations: 0 / 0.505 GB, free: 7.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001224/0.585, allocations: 270.8 kB / 0.5052 GB, free: 7.043 MB / 378.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 (42): * Single equations (assignments): 39 * 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.002307/0.5873, allocations: 1.383 MB / 0.5066 GB, free: 5.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.5891, allocations: 0.9241 MB / 0.5075 GB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5891, allocations: 0 / 0.5075 GB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.5895, allocations: 307.3 kB / 0.5078 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.5898, allocations: 21.39 kB / 0.5078 GB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.5916, allocations: 0.6736 MB / 0.5085 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.5921, allocations: 0.8288 MB / 0.5093 GB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.5931, allocations: 0.578 MB / 0.5098 GB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5933, allocations: 147.4 kB / 0.51 GB, free: 2.086 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5934, allocations: 0 / 0.51 GB, free: 2.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.6248, allocations: 7.757 MB / 0.5176 GB, free: 10.4 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.6251, allocations: 154.2 kB / 0.5177 GB, free: 10.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.607, allocations: 0 / 0.5177 GB, free: 10.21 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat