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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008964/0.0008964, allocations: 97.66 kB / 17 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009367/0.0009368, allocations: 195.4 kB / 17.9 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.0002574, allocations: 4 kB / 306.8 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 51.5 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004435/0.1205, allocations: 3.363 MB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1233, allocations: 1.488 MB / 363.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.1239, allocations: 8 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.1245, allocations: 135.3 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1256, allocations: 302.3 kB / 363.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1268, allocations: 0.5372 MB / 364.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008363/0.1277, allocations: 493.9 kB / 364.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.129, allocations: 0.7206 MB / 365.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.1294, allocations: 187.2 kB / 365.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.1297, allocations: 239 kB / 365.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.1297, allocations: 20 kB / 365.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.1303, allocations: 207.8 kB / 366 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.1304, allocations: 87.61 kB / 366.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1305, allocations: 109.5 kB / 366.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.1313, allocations: 0.6079 MB / 366.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1313, allocations: 0 / 366.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1313, allocations: 0 / 366.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1314, allocations: 0 / 366.8 MB, free: 5.465 MB / 302.1 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.002327/0.1337, allocations: 0.8894 MB / 367.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1337, allocations: 12.03 kB / 367.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.1339, allocations: 115.7 kB / 367.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.1365, allocations: 410.9 kB / 368.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.1371, allocations: 352 kB / 368.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.1371, allocations: 49.25 kB / 368.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.1372, allocations: 56 kB / 368.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.1384, allocations: 0.7174 MB / 369.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1385, allocations: 0 / 369.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.1385, allocations: 24 kB / 369.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.1386, allocations: 25.31 kB / 369.4 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.1398, allocations: 0.7001 MB / 370.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2146/0.3544, allocations: 2.445 MB / 372.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3557, allocations: 1.19 MB / 373.7 MB, free: 17.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.3562, allocations: 234.5 kB / 374 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.3563, allocations: 174.8 kB / 374.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3563, allocations: 45.38 kB / 374.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.993e-06/0.3564, allocations: 0 / 374.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001975/0.3583, allocations: 0.8119 MB / 375 MB, free: 17.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3584, allocations: 63.94 kB / 375.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.3587, allocations: 273.8 kB / 375.3 MB, free: 17.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3587, allocations: 39.31 kB / 375.4 MB, free: 17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3588, allocations: 247.9 kB / 375.6 MB, free: 16.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.359, allocations: 151.9 kB / 375.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.359, allocations: 7.969 kB / 375.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.3591, allocations: 346.7 kB / 376.1 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.3595, allocations: 186 kB / 376.3 MB, free: 16.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.36, allocations: 301.6 kB / 376.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.3605, allocations: 220.7 kB / 376.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3605, allocations: 1.375 kB / 376.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001128/0.3616, allocations: 0.5988 MB / 377.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.3617, allocations: 196.7 kB / 377.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3617, allocations: 4.641 kB / 377.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.362, allocations: 55.5 kB / 377.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.3624, allocations: 107.8 kB / 377.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.3636, allocations: 1.583 MB / 379.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.364, allocations: 66.38 kB / 379.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.364, allocations: 22.62 kB / 379.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.364, allocations: 3.781 kB / 379.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/0.365, allocations: 0.5433 MB / 380 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.365, allocations: 7.438 kB / 380 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.3652, allocations: 49.03 kB / 380 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.3656, allocations: 113.9 kB / 380.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/0.3666, allocations: 1.504 MB / 381.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3669, allocations: 52.56 kB / 381.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3669, allocations: 25.14 kB / 381.7 MB, free: 12.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.3672, allocations: 256.5 kB / 382 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.3673, allocations: 36.39 kB / 382 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.3685, allocations: 0.5888 MB / 382.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3685, allocations: 4.844 kB / 382.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3685, allocations: 1.547 kB / 382.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.3686, allocations: 5.062 kB / 382.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.3704, allocations: 1.241 MB / 383.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.3704, allocations: 1.312 kB / 383.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.3708, allocations: 96.59 kB / 383.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.371, allocations: 47.31 kB / 384 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.371, allocations: 14.95 kB / 384 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.3721, allocations: 1.586 MB / 385.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3721, allocations: 0 / 385.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.3736, allocations: 0.8983 MB / 386.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.3738, allocations: 146.9 kB / 386.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.3738, allocations: 7.078 kB / 386.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.3741, allocations: 24.12 kB / 386.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.3742, allocations: 32.36 kB / 386.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.3742, allocations: 16.61 kB / 386.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.3744, allocations: 196.1 kB / 386.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3744, allocations: 0 / 386.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009487/0.3754, allocations: 258.6 kB / 387.2 MB, free: 8.941 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/0.3773, allocations: 1.468 MB / 388.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.3792, allocations: 1.031 MB / 389.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3792, allocations: 0 / 389.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.3798, allocations: 391.5 kB / 390 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3803, allocations: 44.44 kB / 390.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.3845, allocations: 2.641 MB / 392.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3849, allocations: 0.8227 MB / 393.5 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001962/0.3868, allocations: 1.082 MB / 394.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.3872, allocations: 172.2 kB / 394.8 MB, free: 4.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.466e-06/0.3872, allocations: 0 / 394.8 MB, free: 4.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.4089, allocations: 8.509 MB / 403.3 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.4091, allocations: 223.2 kB / 403.5 MB, free: 420 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.426, allocations: 3.938 kB / 403.5 MB, free: 416 kB / 302.1 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