Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.001218/0.001218, allocations: 177.7 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.65/1.65, allocations: 205.3 MB / 214.4 MB, free: 1.668 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.0008409/0.0008409, allocations: 86.48 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.752e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09357/0.0936, allocations: 47.6 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4344, allocations: 80.88 MB / 444.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4346, allocations: 77.45 kB / 444.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03854/0.4732, allocations: 16.03 MB / 460.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4732, allocations: 0 / 460.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.4732, allocations: 15.98 kB / 460.2 MB, free: 1.59 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.001705/0.475, allocations: 0.7652 MB / 460.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.475, allocations: 8.031 kB / 460.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.4777, allocations: 435.7 kB / 461.4 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.4781, allocations: 305.5 kB / 461.7 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.4782, allocations: 20 kB / 461.7 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.4783, allocations: 47.73 kB / 461.7 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008785/0.4792, allocations: 0.5805 MB / 462.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.4799, allocations: 435.7 kB / 462.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4799, allocations: 0 / 462.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.48, allocations: 0 / 462.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.48, allocations: 20 kB / 462.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.4829, allocations: 1.997 MB / 464.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.4852, allocations: 2.957 MB / 467.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.4856, allocations: 238.5 kB / 468 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-05/0.4857, allocations: 89.53 kB / 468 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4857, allocations: 42.81 kB / 468.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.4857, allocations: 0 / 468.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001118/0.4869, allocations: 469.7 kB / 468.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.4869, allocations: 63.78 kB / 468.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.4871, allocations: 162.4 kB / 468.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.4871, allocations: 25.7 kB / 468.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.4873, allocations: 241.4 kB / 469 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.4874, allocations: 159.5 kB / 469.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.4875, allocations: 0 / 469.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4876, allocations: 333.6 kB / 469.5 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4878, allocations: 129.1 kB / 469.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.4881, allocations: 249.8 kB / 469.9 MB, free: 8.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.4886, allocations: 267.2 kB / 470.1 MB, free: 8.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4887, allocations: 0 / 470.1 MB, free: 8.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001102/0.4898, allocations: 0.5834 MB / 470.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4898, allocations: 8 kB / 470.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.4898, allocations: 12.41 kB / 470.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.4901, allocations: 82.81 kB / 470.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.4906, allocations: 110.8 kB / 470.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.4921, allocations: 1.576 MB / 472.5 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.4924, allocations: 43.59 kB / 472.5 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.4925, allocations: 23.42 kB / 472.6 MB, free: 6.156 MB / 346.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 (60): * Single equations (assignments): 59 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.4926, allocations: 120.8 kB / 472.7 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009384/0.4935, allocations: 479.6 kB / 473.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.4936, allocations: 23.72 kB / 473.2 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.4948, allocations: 0.5457 MB / 473.7 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4948, allocations: 8 kB / 473.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4948, allocations: 7.984 kB / 473.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4948, allocations: 7.953 kB / 473.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.4966, allocations: 1.11 MB / 474.9 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4966, allocations: 3.984 kB / 474.9 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.4969, allocations: 83.72 kB / 474.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.4972, allocations: 78 kB / 475 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.4972, allocations: 8.062 kB / 475 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.4986, allocations: 1.557 MB / 476.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4986, allocations: 0 / 476.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.4998, allocations: 0.8212 MB / 477.4 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.4999, allocations: 112.7 kB / 477.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.5, allocations: 7.938 kB / 477.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.5002, allocations: 11.98 kB / 477.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.5003, allocations: 36.38 kB / 477.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.5004, allocations: 19.94 kB / 477.6 MB, free: 1.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.652e-05/0.5005, allocations: 136.4 kB / 477.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5005, allocations: 0 / 477.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005603/0.501, allocations: 143.5 kB / 477.9 MB, free: 1.453 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/0.5028, allocations: 1.543 MB / 479.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008459/0.5037, allocations: 0.5087 MB / 479.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5037, allocations: 0.9375 kB / 479.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.5041, allocations: 347.2 kB / 480.3 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5044, allocations: 16.45 kB / 480.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.5076, allocations: 1.157 MB / 481.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.5081, allocations: 0.8287 MB / 482.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.5083, allocations: 51.27 kB / 482.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.5085, allocations: 135.4 kB / 482.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5085, allocations: 0 / 482.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.5358, allocations: 6.358 MB / 488.8 MB, free: 6.383 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.5361, allocations: 167.8 kB / 489 MB, free: 6.191 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.41, allocations: 3.938 kB / 489 MB, free: 6.188 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat