Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.002313/0.002312, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001551/0.00155, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.76e-05/4.79e-05, allocations: 11.94 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.6232, allocations: 78.72 MB / 447.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6235, allocations: 71.52 kB / 448 MB, free: 14.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05403/0.6776, allocations: 12.84 MB / 460.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6776, allocations: 0 / 460.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.742e-05/0.6777, allocations: 23.94 kB / 460.8 MB, free: 3.469 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002624/0.6803, allocations: 1.014 MB / 461.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.6804, allocations: 8.031 kB / 461.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/0.6807, allocations: 144 kB / 462 MB, free: 2.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.6809, allocations: 106.8 kB / 462.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.6819, allocations: 442.9 kB / 462.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.682, allocations: 70 kB / 462.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.6822, allocations: 92 kB / 462.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.6843, allocations: 0.8364 MB / 463.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.6844, allocations: 0 / 463.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.6845, allocations: 44 kB / 463.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.6846, allocations: 24 kB / 463.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.6862, allocations: 0.5389 MB / 464.1 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007292/0.6935, allocations: 2.999 MB / 467.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.6942, allocations: 283 kB / 467.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005445/0.6948, allocations: 262.2 kB / 467.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.6948, allocations: 4 kB / 467.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.6949, allocations: 38.56 kB / 467.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.136e-06/0.6949, allocations: 0 / 467.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001208/0.6961, allocations: 397.7 kB / 468.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.6962, allocations: 59.36 kB / 468.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.697, allocations: 456.5 kB / 468.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.6971, allocations: 37.7 kB / 468.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.6975, allocations: 0.5195 MB / 469.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.6977, allocations: 153.8 kB / 469.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.6978, allocations: 16 kB / 469.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6979, allocations: 338.8 kB / 469.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.6984, allocations: 157.6 kB / 469.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.6991, allocations: 431.5 kB / 470.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.6997, allocations: 231.1 kB / 470.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.6997, allocations: 4 kB / 470.5 MB, free: 9.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001884/0.7016, allocations: 0.7026 MB / 471.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.7017, allocations: 12 kB / 471.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.7017, allocations: 8 kB / 471.2 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.7022, allocations: 85.06 kB / 471.3 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.7035, allocations: 203.6 kB / 471.5 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.7063, allocations: 1.803 MB / 473.3 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/0.7073, allocations: 87.12 kB / 473.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.7074, allocations: 36 kB / 473.4 MB, free: 6.328 MB / 346.7 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 () * 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.0002389/0.7077, allocations: 161.5 kB / 473.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.7078, allocations: 63.33 kB / 473.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.708, allocations: 61.3 kB / 473.7 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.708, allocations: 11.89 kB / 473.7 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.7081, allocations: 4 kB / 473.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.7081, allocations: 3.984 kB / 473.7 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.7094, allocations: 0.6337 MB / 474.3 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.7094, allocations: 3.984 kB / 474.3 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.7102, allocations: 95.94 kB / 474.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/0.7107, allocations: 76.75 kB / 474.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.7107, allocations: 11.98 kB / 474.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.7134, allocations: 1.78 MB / 476.3 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.7134, allocations: 4.031 kB / 476.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.715, allocations: 0.6337 MB / 476.9 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.7153, allocations: 136.4 kB / 477 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7154, allocations: 11.95 kB / 477.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.7162, allocations: 56.09 kB / 477.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.7164, allocations: 31.89 kB / 477.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.7164, allocations: 12 kB / 477.2 MB, free: 2.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006295/0.7171, allocations: 337.6 kB / 477.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7171, allocations: 3.938 kB / 477.5 MB, free: 1.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001099/0.7182, allocations: 251.1 kB / 477.7 MB, free: 1.734 MB / 346.7 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 () * 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.001913/0.7201, allocations: 1.182 MB / 478.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.7217, allocations: 0.5739 MB / 479.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7217, allocations: 4 kB / 479.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.7225, allocations: 306.6 kB / 479.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009199/0.7234, allocations: 114.2 kB / 479.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.7271, allocations: 1.255 MB / 481.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.7278, allocations: 0.9456 MB / 482.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.7283, allocations: 275.3 kB / 482.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7283, allocations: 0 / 482.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.905/3.633, allocations: 14.07 MB / 496.4 MB, free: 14.87 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat