Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001332/0.001332, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000802/0.0008019, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.455e-05, allocations: 0 / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08446, allocations: 47.58 MB / 370.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.3958, allocations: 82.76 MB / 452.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.3961, allocations: 78.2 kB / 453 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04281/0.4389, allocations: 18.04 MB / 471 MB, free: 9.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4389, allocations: 0 / 471 MB, free: 9.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.439, allocations: 11.94 kB / 471 MB, free: 9.73 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.001843/0.4408, allocations: 0.8351 MB / 471.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4409, allocations: 8.031 kB / 471.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.441, allocations: 120.4 kB / 472 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.4438, allocations: 446.9 kB / 472.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.4445, allocations: 375.9 kB / 472.8 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.4446, allocations: 50 kB / 472.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.4448, allocations: 72 kB / 472.9 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.4464, allocations: 0.7862 MB / 473.7 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.4465, allocations: 0 / 473.7 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/0.4466, allocations: 32 kB / 473.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.4466, allocations: 16 kB / 473.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.4482, allocations: 0.8162 MB / 474.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00502/0.4532, allocations: 2.793 MB / 477.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.4553, allocations: 1.976 MB / 479.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.4557, allocations: 251 kB / 479.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.4558, allocations: 93.89 kB / 479.7 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4558, allocations: 42.94 kB / 479.7 MB, free: 408 kB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.4558, allocations: 0 / 479.7 MB, free: 408 kB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.001008/0.4568, allocations: 0.516 MB / 480.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.4569, allocations: 89.55 kB / 480.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.4572, allocations: 271.2 kB / 480.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.4573, allocations: 33.7 kB / 480.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.4574, allocations: 287.7 kB / 480.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.4576, allocations: 177.4 kB / 481 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.4576, allocations: 16 kB / 481.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4578, allocations: 350.8 kB / 481.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.4581, allocations: 201.5 kB / 481.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.4585, allocations: 406.1 kB / 482 MB, free: 13.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.4589, allocations: 240.2 kB / 482.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.459, allocations: 0 / 482.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001124/0.4601, allocations: 0.7047 MB / 482.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008957/0.461, allocations: 2.438 MB / 485.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.461, allocations: 15.95 kB / 485.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.4613, allocations: 60.83 kB / 485.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.4618, allocations: 143.8 kB / 485.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.4633, allocations: 1.596 MB / 487.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.4638, allocations: 79.36 kB / 487.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.4638, allocations: 35.98 kB / 487.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.4638, allocations: 4 kB / 487.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/0.4649, allocations: 0.6406 MB / 487.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4649, allocations: 8 kB / 488 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.4651, allocations: 57.5 kB / 488 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.4656, allocations: 135.8 kB / 488.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.4668, allocations: 1.517 MB / 489.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.4672, allocations: 71.36 kB / 489.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.4673, allocations: 31.98 kB / 489.8 MB, free: 5.699 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.0001587/0.4675, allocations: 141.7 kB / 489.9 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.4676, allocations: 43.53 kB / 489.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.4687, allocations: 0.6122 MB / 490.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.4687, allocations: 8 kB / 490.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4687, allocations: 0 / 490.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4687, allocations: 3.984 kB / 490.6 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.4706, allocations: 1.343 MB / 491.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4706, allocations: 0 / 491.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.4711, allocations: 95.88 kB / 492 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.4712, allocations: 52.77 kB / 492.1 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.4713, allocations: 19.94 kB / 492.1 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.4726, allocations: 1.581 MB / 493.7 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4726, allocations: 0 / 493.7 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.474, allocations: 0.9339 MB / 494.6 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.4742, allocations: 164.5 kB / 494.7 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.4743, allocations: 4 kB / 494.8 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.4746, allocations: 40.05 kB / 494.8 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.4747, allocations: 40.33 kB / 494.8 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.4748, allocations: 19.98 kB / 494.8 MB, free: 368 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.475, allocations: 203.1 kB / 495 MB, free: 164 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.475, allocations: 0 / 495 MB, free: 164 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001013/0.476, allocations: 299.1 kB / 495.3 MB, free: 15.86 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 (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.001817/0.4778, allocations: 1.531 MB / 496.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.4797, allocations: 1.125 MB / 498 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4797, allocations: 0 / 498 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.4803, allocations: 397.3 kB / 498.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4807, allocations: 36.8 kB / 498.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.4847, allocations: 1.389 MB / 499.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.4852, allocations: 0.8614 MB / 0.4889 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001479/0.4867, allocations: 1.101 MB / 0.49 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.487, allocations: 179.4 kB / 0.4902 GB, free: 9.129 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.487, allocations: 0 / 0.4902 GB, free: 9.129 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.5136, allocations: 10.08 MB / 0.5 GB, free: 15.04 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.5139, allocations: 202.4 kB / 0.5002 GB, free: 14.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.552, allocations: 0 / 0.5002 GB, free: 14.8 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat