Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.0009827/0.0009827, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 86.7 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.789e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.0914, allocations: 47.59 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/0.4179, allocations: 80.87 MB / 444 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.4183, allocations: 85.2 kB / 444.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03785/0.4562, allocations: 15.95 MB / 460.1 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4562, allocations: 3.984 kB / 460.1 MB, free: 1.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.4563, allocations: 8 kB / 460.1 MB, free: 1.652 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001563/0.4578, allocations: 0.7579 MB / 460.9 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4579, allocations: 12.03 kB / 460.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.4606, allocations: 428.8 kB / 461.3 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.461, allocations: 307.2 kB / 461.6 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.4611, allocations: 20 kB / 461.6 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.4612, allocations: 43.8 kB / 461.6 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008676/0.462, allocations: 0.5673 MB / 462.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.4628, allocations: 432.6 kB / 462.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.4628, allocations: 0 / 462.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.4629, allocations: 0 / 462.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.4629, allocations: 19.88 kB / 462.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.4656, allocations: 1.961 MB / 464.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.468, allocations: 2.963 MB / 467.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.4683, allocations: 186.8 kB / 467.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.4684, allocations: 89.53 kB / 467.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.4684, allocations: 34.06 kB / 467.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.908e-06/0.4685, allocations: 0 / 467.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001067/0.4695, allocations: 484.1 kB / 468.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4696, allocations: 59.84 kB / 468.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4697, allocations: 165.2 kB / 468.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.4698, allocations: 25.7 kB / 468.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4699, allocations: 241.7 kB / 468.8 MB, free: 9.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.47, allocations: 155.8 kB / 469 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.4701, allocations: 0 / 469 MB, free: 9.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4702, allocations: 341.2 kB / 469.3 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.4704, allocations: 131.4 kB / 469.5 MB, free: 8.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.4707, allocations: 245.7 kB / 469.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.4713, allocations: 257.4 kB / 469.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4713, allocations: 0 / 469.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001144/0.4725, allocations: 0.5885 MB / 470.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4725, allocations: 8 kB / 470.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4725, allocations: 4.406 kB / 470.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.4729, allocations: 87.25 kB / 470.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.4733, allocations: 107.8 kB / 470.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.4751, allocations: 1.779 MB / 472.5 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.4755, allocations: 47.42 kB / 472.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.4755, allocations: 26.89 kB / 472.6 MB, free: 6.125 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.4757, allocations: 112.8 kB / 472.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001003/0.4767, allocations: 488.3 kB / 473.2 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.4767, allocations: 23.72 kB / 473.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.4779, allocations: 0.5428 MB / 473.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4779, allocations: 11.98 kB / 473.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4779, allocations: 7.984 kB / 473.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4779, allocations: 3.953 kB / 473.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.4796, allocations: 1.069 MB / 474.8 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4796, allocations: 0 / 474.8 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.48, allocations: 79.86 kB / 474.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.4803, allocations: 90.31 kB / 475 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.4803, allocations: 3.984 kB / 475 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.482, allocations: 1.755 MB / 476.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.482, allocations: 4.062 kB / 476.8 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.4834, allocations: 0.7869 MB / 477.5 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.4835, allocations: 108.7 kB / 477.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.4835, allocations: 0 / 477.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.4838, allocations: 24.05 kB / 477.7 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.4839, allocations: 36.61 kB / 477.7 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.4839, allocations: 12 kB / 477.7 MB, free: 1.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.484, allocations: 136.3 kB / 477.9 MB, free: 1.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.484, allocations: 3.938 kB / 477.9 MB, free: 1.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006379/0.4847, allocations: 139.5 kB / 478 MB, free: 1.348 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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): 43 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/0.4864, allocations: 1.353 MB / 479.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009194/0.4873, allocations: 0.5247 MB / 479.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4874, allocations: 4.25 kB / 479.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.4878, allocations: 347.1 kB / 480.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.4881, allocations: 8.156 kB / 480.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.4913, allocations: 1.147 MB / 481.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.4917, allocations: 0.8287 MB / 482.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.492, allocations: 51.27 kB / 482.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.4922, allocations: 143.4 kB / 482.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4922, allocations: 4 kB / 482.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.5217, allocations: 6.33 MB / 488.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.5219, allocations: 169.8 kB / 488.9 MB, free: 6.301 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.445, allocations: 0 / 488.9 MB, free: 6.301 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat