Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",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.002253/0.002252, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.2 MB / 219.4 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.001104/0.001103, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.2e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.58 MB / 369.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5335, allocations: 82.76 MB / 452 MB, free: 10.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.5339, allocations: 81.08 kB / 452 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0722/0.6061, allocations: 18.03 MB / 470.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6061, allocations: 4 kB / 470.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.6062, allocations: 16 kB / 470.1 MB, free: 10.09 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003041/0.6092, allocations: 0.8351 MB / 470.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.6093, allocations: 16.03 kB / 470.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003869/0.6097, allocations: 120.4 kB / 471 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.6144, allocations: 442.9 kB / 471.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.6155, allocations: 376 kB / 471.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.6156, allocations: 46 kB / 471.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.6158, allocations: 68 kB / 472 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.618, allocations: 0.794 MB / 472.8 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.6181, allocations: 4 kB / 472.8 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6182, allocations: 28 kB / 472.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.6183, allocations: 16 kB / 472.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.6206, allocations: 0.8123 MB / 473.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007423/0.628, allocations: 2.793 MB / 476.4 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.6312, allocations: 1.969 MB / 478.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.632, allocations: 259 kB / 478.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.6322, allocations: 97.86 kB / 478.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.6322, allocations: 39 kB / 478.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.677e-06/0.6322, allocations: 3.938 kB / 478.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.001646/0.6339, allocations: 0.5121 MB / 479.3 MB, free: 232 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.634, allocations: 85.48 kB / 479.4 MB, free: 124 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.6345, allocations: 271.3 kB / 479.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.6346, allocations: 37.7 kB / 479.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6349, allocations: 346.1 kB / 480 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.6352, allocations: 177.4 kB / 480.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.6353, allocations: 15.94 kB / 480.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6355, allocations: 338.8 kB / 480.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.6361, allocations: 197.5 kB / 480.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/0.6368, allocations: 408.6 kB / 481.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.6375, allocations: 244.2 kB / 481.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.6376, allocations: 4 kB / 481.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002042/0.6396, allocations: 0.6895 MB / 482 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.6409, allocations: 2.44 MB / 484.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.641, allocations: 7.953 kB / 484.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.6414, allocations: 60.84 kB / 484.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6426, allocations: 143.8 kB / 484.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.645, allocations: 1.592 MB / 486.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008448/0.6459, allocations: 87.27 kB / 486.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.646, allocations: 39.92 kB / 486.4 MB, free: 8.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.646, allocations: 4 kB / 486.4 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/0.6479, allocations: 0.6408 MB / 487.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.648, allocations: 8 kB / 487.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.6482, allocations: 56.83 kB / 487.1 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.6493, allocations: 136.2 kB / 487.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.6514, allocations: 1.513 MB / 488.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.6522, allocations: 59.52 kB / 488.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.6523, allocations: 31.98 kB / 488.9 MB, free: 6.035 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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.0002836/0.6526, allocations: 140.8 kB / 489 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.6528, allocations: 39.53 kB / 489 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.6547, allocations: 0.6161 MB / 489.6 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.6548, allocations: 11.98 kB / 489.7 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6548, allocations: 4 kB / 489.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6548, allocations: 3.984 kB / 489.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.6581, allocations: 1.327 MB / 491 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6582, allocations: 8 kB / 491 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008799/0.6591, allocations: 95.88 kB / 491.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.6594, allocations: 48.77 kB / 491.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.6595, allocations: 23.94 kB / 491.2 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.6619, allocations: 1.577 MB / 492.7 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6619, allocations: 0 / 492.7 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.6644, allocations: 0.9356 MB / 493.7 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.6648, allocations: 160.5 kB / 493.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.6649, allocations: 8 kB / 493.8 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.6655, allocations: 32.05 kB / 493.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6656, allocations: 44.33 kB / 493.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.6657, allocations: 15.98 kB / 493.9 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003588/0.6661, allocations: 203.1 kB / 494.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.817e-06/0.6661, allocations: 3.938 kB / 494.1 MB, free: 0.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001565/0.6677, allocations: 299 kB / 494.4 MB, free: 212 kB / 362.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 (48): * Single equations (assignments): 45 * 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.003067/0.6708, allocations: 1.531 MB / 496 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.6738, allocations: 1.119 MB / 497.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.6739, allocations: 0 / 497.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.6749, allocations: 394.2 kB / 497.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.6755, allocations: 40.77 kB / 497.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/0.6816, allocations: 1.415 MB / 498.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.6822, allocations: 0.8611 MB / 499.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/0.6828, allocations: 191.3 kB / 500 MB, free: 10.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6828, allocations: 0 / 500 MB, free: 10.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/3.493, allocations: 10.77 MB / 0.4988 GB, free: 15.76 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat