Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.001022/0.001021, allocations: 88.53 kB / 16.31 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.001228/0.001228, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.583/1.583, allocations: 223.2 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004205, allocations: 9.375 kB / 300.9 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1454, allocations: 50.42 MB / 351.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005653/0.1511, allocations: 4.981 MB / 356.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.1542, allocations: 1.142 MB / 357.5 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1552, allocations: 20 kB / 357.5 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.1558, allocations: 123 kB / 357.6 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1569, allocations: 238 kB / 357.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.1576, allocations: 163.8 kB / 358 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.1592, allocations: 0.9932 MB / 359 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.16, allocations: 396.2 kB / 359.4 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.1606, allocations: 334.8 kB / 359.7 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.1611, allocations: 386.2 kB / 360.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.1612, allocations: 51.94 kB / 360.1 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1613, allocations: 52 kB / 360.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1615, allocations: 159.4 kB / 360.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.1618, allocations: 197.2 kB / 360.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008021/0.1626, allocations: 0.8022 MB / 361.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.1626, allocations: 8 kB / 361.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1626, allocations: 0 / 361.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1626, allocations: 0 / 361.3 MB, free: 1.57 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001781/0.1644, allocations: 1.084 MB / 362.4 MB, free: 444 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1645, allocations: 8.031 kB / 362.4 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.1646, allocations: 144 kB / 362.6 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1648, allocations: 110.8 kB / 362.7 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.1654, allocations: 442.1 kB / 363.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.1654, allocations: 66 kB / 363.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.1656, allocations: 99.91 kB / 363.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.1669, allocations: 0.8635 MB / 364.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1669, allocations: 7.953 kB / 364.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.167, allocations: 40 kB / 364.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.167, allocations: 24 kB / 364.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009769/0.168, allocations: 0.5622 MB / 364.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.1721, allocations: 2.976 MB / 367.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.1725, allocations: 302.4 kB / 368 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.1729, allocations: 272.8 kB / 368.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1729, allocations: 4 kB / 368.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.173, allocations: 42.55 kB / 368.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.415e-06/0.173, allocations: 0 / 368.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001442/0.1744, allocations: 0.6588 MB / 369 MB, free: 9.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1745, allocations: 55.41 kB / 369.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.1751, allocations: 0.5102 MB / 369.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.1751, allocations: 33.7 kB / 369.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.1755, allocations: 489.6 kB / 370.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.1756, allocations: 153.8 kB / 370.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1756, allocations: 12 kB / 370.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1758, allocations: 366.8 kB / 370.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.1761, allocations: 173.9 kB / 370.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.1767, allocations: 453.4 kB / 371.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1771, allocations: 242 kB / 371.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1771, allocations: 0 / 371.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001154/0.1782, allocations: 0.7572 MB / 372.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1783, allocations: 12.12 kB / 372.2 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1783, allocations: 15.89 kB / 372.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.1786, allocations: 84.75 kB / 372.3 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.1792, allocations: 199.7 kB / 372.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.1811, allocations: 1.807 MB / 374.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.1815, allocations: 87.06 kB / 374.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.1816, allocations: 36 kB / 374.4 MB, free: 3.855 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002697/0.1818, allocations: 217.5 kB / 374.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.1819, allocations: 63.41 kB / 374.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1821, allocations: 61.52 kB / 374.8 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1821, allocations: 7.984 kB / 374.8 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.1821, allocations: 4 kB / 374.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1821, allocations: 0 / 374.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.1829, allocations: 0.6337 MB / 375.4 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1829, allocations: 3.953 kB / 375.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.1833, allocations: 107.9 kB / 375.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.1835, allocations: 73.02 kB / 375.6 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.1835, allocations: 8 kB / 375.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.1851, allocations: 1.799 MB / 377.4 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1852, allocations: 4.062 kB / 377.4 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.1861, allocations: 0.6621 MB / 378.1 MB, free: 0 / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1862, allocations: 132.4 kB / 378.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.1863, allocations: 12 kB / 378.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.1866, allocations: 51.97 kB / 378.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.1867, allocations: 27.95 kB / 378.3 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.1867, allocations: 16 kB / 378.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.1871, allocations: 338.9 kB / 378.6 MB, free: 15.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1871, allocations: 0 / 378.6 MB, free: 15.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007594/0.1879, allocations: 243.2 kB / 378.9 MB, free: 15.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.001256/0.1891, allocations: 1.222 MB / 380.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009533/0.1901, allocations: 0.5893 MB / 380.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1901, allocations: 256 / 380.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.1906, allocations: 330.5 kB / 381 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.1912, allocations: 120.9 kB / 381.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/0.1961, allocations: 3.85 MB / 385 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.1966, allocations: 0.934 MB / 385.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.1969, allocations: 69.22 kB / 386 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.1972, allocations: 267.3 kB / 386.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1972, allocations: 0 / 386.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.2221, allocations: 11.78 MB / 398 MB, free: 11.98 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.2223, allocations: 210.5 kB / 398.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.398, allocations: 3.938 kB / 398.2 MB, free: 11.74 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat