Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001111/0.001111, allocations: 94.97 kB / 16.3 MB, free: 5.996 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.00137/0.00137, allocations: 183.8 kB / 17.2 MB, free: 5.914 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.565/1.565, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002822, allocations: 6.75 kB / 300.8 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 50.42 MB / 351.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004355/0.1646, allocations: 2.253 MB / 353.5 MB, free: 9.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.166, allocations: 0.612 MB / 354.1 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1662, allocations: 12 kB / 354.1 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.116e-05/0.1662, allocations: 31.75 kB / 354.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1665, allocations: 99.7 kB / 354.2 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.1666, allocations: 55.94 kB / 354.3 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.167, allocations: 235.9 kB / 354.5 MB, free: 8.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.1672, allocations: 106.4 kB / 354.6 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1673, allocations: 103.6 kB / 354.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1675, allocations: 127.5 kB / 354.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.1676, allocations: 20 kB / 354.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.1676, allocations: 16 kB / 354.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1677, allocations: 51.83 kB / 354.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.1677, allocations: 77.52 kB / 355 MB, free: 7.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.168, allocations: 259.2 kB / 355.3 MB, free: 7.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.168, allocations: 3.938 kB / 355.3 MB, free: 7.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.168, allocations: 3.938 kB / 355.3 MB, free: 7.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.168, allocations: 0 / 355.3 MB, free: 7.594 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.000842/0.1689, allocations: 0.5456 MB / 355.8 MB, free: 7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1689, allocations: 8.031 kB / 355.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.076e-05/0.169, allocations: 70.48 kB / 355.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1691, allocations: 27.72 kB / 355.9 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1694, allocations: 254.5 kB / 356.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1694, allocations: 20.56 kB / 356.2 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.1695, allocations: 24 kB / 356.2 MB, free: 6.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.17, allocations: 248.9 kB / 356.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.17, allocations: 0 / 356.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.17, allocations: 12 kB / 356.5 MB, free: 6.297 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.17, allocations: 15.94 kB / 356.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.1704, allocations: 182.2 kB / 356.7 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.1724, allocations: 1.025 MB / 357.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.1728, allocations: 330.2 kB / 358 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1729, allocations: 192 / 358 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1729, allocations: 46.64 kB / 358.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.1729, allocations: 0 / 358.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001401/0.1743, allocations: 0.781 MB / 358.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.1744, allocations: 55.41 kB / 358.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1746, allocations: 198.2 kB / 359.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1746, allocations: 29.7 kB / 359.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1747, allocations: 176.2 kB / 359.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.1748, allocations: 90.64 kB / 359.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.1748, allocations: 8 kB / 359.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.175, allocations: 330.8 kB / 359.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.1753, allocations: 68.53 kB / 359.8 MB, free: 2.766 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1755, allocations: 110.7 kB / 359.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1756, allocations: 88.47 kB / 360 MB, free: 2.566 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1756, allocations: 0 / 360 MB, free: 2.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005933/0.1762, allocations: 322.1 kB / 360.3 MB, free: 2.242 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.1763, allocations: 8 kB / 360.3 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1763, allocations: 3.938 kB / 360.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.1766, allocations: 84.75 kB / 360.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1769, allocations: 51.91 kB / 360.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.1792, allocations: 1.924 MB / 362.3 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1794, allocations: 8.031 kB / 362.4 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1795, allocations: 15.98 kB / 362.4 MB, free: 8 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.1797, allocations: 137.8 kB / 362.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.1797, allocations: 15.81 kB / 362.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.1798, allocations: 29.94 kB / 362.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1798, allocations: 4 kB / 362.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.1798, allocations: 3.953 kB / 362.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1798, allocations: 7.984 kB / 362.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1811, allocations: 0.7496 MB / 363.3 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1811, allocations: 0 / 363.3 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1813, allocations: 39.94 kB / 363.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.1815, allocations: 76.73 kB / 363.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1815, allocations: 4 kB / 363.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.1835, allocations: 1.82 MB / 365.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1835, allocations: 0 / 365.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007057/0.1842, allocations: 463.8 kB / 365.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.1843, allocations: 100.8 kB / 365.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1844, allocations: 8.062 kB / 365.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1845, allocations: 12 kB / 365.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.1846, allocations: 19.97 kB / 365.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1846, allocations: 12 kB / 365.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1848, allocations: 144.3 kB / 366 MB, free: 12.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1848, allocations: 0 / 366 MB, free: 12.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.1853, allocations: 76 kB / 366.1 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.1863, allocations: 0.9939 MB / 367.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.187, allocations: 379.1 kB / 367.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.187, allocations: 0 / 367.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.1874, allocations: 266.4 kB / 367.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1877, allocations: 32.05 kB / 367.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1905, allocations: 1.932 MB / 369.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.191, allocations: 0.7713 MB / 370.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.459e-05/0.1911, allocations: 18.3 kB / 370.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1912, allocations: 79.41 kB / 370.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1912, allocations: 0 / 370.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2085, allocations: 5.127 MB / 375.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.2088, allocations: 213.6 kB / 375.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.174, allocations: 0 / 375.9 MB, free: 2.27 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat