Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 93.88 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 183.5 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003069, allocations: 7.438 kB / 300.8 MB, free: 6.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 50.42 MB / 351.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003825/0.1453, allocations: 2.981 MB / 354.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1476, allocations: 1.313 MB / 355.5 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.1479, allocations: 11.94 kB / 355.5 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.1483, allocations: 123.3 kB / 355.7 MB, free: 7.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.1494, allocations: 466.5 kB / 356.1 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.1501, allocations: 351.2 kB / 356.5 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.1505, allocations: 319.3 kB / 356.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.1518, allocations: 0.6878 MB / 357.5 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.1522, allocations: 171.4 kB / 357.6 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.1524, allocations: 219.1 kB / 357.8 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.1525, allocations: 20 kB / 357.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.1529, allocations: 155.8 kB / 358 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.153, allocations: 79.72 kB / 358.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.1531, allocations: 97.45 kB / 358.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.1536, allocations: 0.5181 MB / 358.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1536, allocations: 0 / 358.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1536, allocations: 0 / 358.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1536, allocations: 0 / 358.7 MB, free: 4.199 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002004/0.1557, allocations: 0.8194 MB / 359.5 MB, free: 3.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1557, allocations: 12.03 kB / 359.5 MB, free: 3.316 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.1559, allocations: 95.73 kB / 359.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.1592, allocations: 0.4911 MB / 360.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1597, allocations: 312.7 kB / 360.4 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.1597, allocations: 41.31 kB / 360.5 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.1598, allocations: 51.91 kB / 360.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1608, allocations: 0.5258 MB / 361 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1609, allocations: 3.984 kB / 361 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.1609, allocations: 27.95 kB / 361.1 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.161, allocations: 19.94 kB / 361.1 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.162, allocations: 0.5869 MB / 361.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.1651, allocations: 1.883 MB / 363.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.1674, allocations: 2.161 MB / 365.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.771e-05/0.1675, allocations: 97.52 kB / 365.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1675, allocations: 42.95 kB / 365.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.074e-06/0.1675, allocations: 0 / 365.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001829/0.1694, allocations: 0.7626 MB / 366.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1694, allocations: 63.78 kB / 366.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1696, allocations: 178.3 kB / 366.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1697, allocations: 33.7 kB / 366.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1698, allocations: 220.5 kB / 367.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.17, allocations: 161.6 kB / 367.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.17, allocations: 12 kB / 367.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1701, allocations: 334.8 kB / 367.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.1705, allocations: 161.1 kB / 367.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.1709, allocations: 240.8 kB / 368 MB, free: 10.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.1712, allocations: 188.7 kB / 368.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1712, allocations: 4 kB / 368.2 MB, free: 10 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001006/0.1722, allocations: 0.5474 MB / 368.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1723, allocations: 4 kB / 368.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1723, allocations: 4 kB / 368.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.1726, allocations: 76.75 kB / 368.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.173, allocations: 103.9 kB / 368.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.175, allocations: 1.663 MB / 370.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.1753, allocations: 43.59 kB / 370.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.1753, allocations: 23.94 kB / 370.6 MB, free: 7.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 51 * 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.0002399/0.1756, allocations: 169.7 kB / 370.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.1756, allocations: 31.77 kB / 370.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.1767, allocations: 0.559 MB / 371.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.1767, allocations: 4 kB / 371.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1768, allocations: 0 / 371.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1768, allocations: 7.984 kB / 371.4 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.1785, allocations: 1.16 MB / 372.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1785, allocations: 7.922 kB / 372.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.1789, allocations: 83.89 kB / 372.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.1792, allocations: 76.8 kB / 372.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.1792, allocations: 12 kB / 372.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.1808, allocations: 1.664 MB / 374.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1808, allocations: 0 / 374.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.1822, allocations: 0.8193 MB / 375.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.1823, allocations: 104.7 kB / 375.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.1823, allocations: 15.98 kB / 375.4 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1826, allocations: 24.06 kB / 375.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.1827, allocations: 36.38 kB / 375.4 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.1827, allocations: 12 kB / 375.4 MB, free: 2.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1828, allocations: 132.2 kB / 375.6 MB, free: 2.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.1828, allocations: 0 / 375.6 MB, free: 2.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005682/0.1834, allocations: 151.5 kB / 375.7 MB, free: 2.094 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001825/0.1852, allocations: 1.396 MB / 377.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1864, allocations: 0.5818 MB / 377.7 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1864, allocations: 4.125 kB / 377.7 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.187, allocations: 400.9 kB / 378.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1873, allocations: 19.98 kB / 378.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.1911, allocations: 3.214 MB / 381.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1915, allocations: 0.8204 MB / 382.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.1917, allocations: 46.95 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.1919, allocations: 131.4 kB / 382.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1919, allocations: 4 kB / 382.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.2136, allocations: 6.859 MB / 389.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.2139, allocations: 230.8 kB / 389.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.158, allocations: 0 / 389.4 MB, free: 4.434 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat