Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001478/0.001478, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 82.84 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.638e-05, allocations: 4 kB / 314.9 MB, free: 9.07 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3351, allocations: 47.56 MB / 362.4 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4595, allocations: 76.39 MB / 438.8 MB, free: 9.891 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4598, allocations: 70.69 kB / 438.9 MB, free: 9.824 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02082/0.4806, allocations: 4.644 MB / 443.5 MB, free: 5.199 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4807, allocations: 0 / 443.5 MB, free: 5.199 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.4807, allocations: 4 kB / 443.5 MB, free: 5.195 MB / 331.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.001052/0.4818, allocations: 0.5249 MB / 444.1 MB, free: 4.629 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4818, allocations: 8.031 kB / 444.1 MB, free: 4.621 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.482, allocations: 31.62 kB / 444.1 MB, free: 4.59 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.4824, allocations: 250.5 kB / 444.3 MB, free: 4.305 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4824, allocations: 8 kB / 444.3 MB, free: 4.297 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.4825, allocations: 20.83 kB / 444.4 MB, free: 4.277 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005324/0.483, allocations: 157.1 kB / 444.5 MB, free: 4.125 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.4836, allocations: 198.8 kB / 444.7 MB, free: 3.926 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4836, allocations: 0 / 444.7 MB, free: 3.926 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.4837, allocations: 4 kB / 444.7 MB, free: 3.922 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.4837, allocations: 8 kB / 444.7 MB, free: 3.914 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.486, allocations: 0.962 MB / 445.7 MB, free: 2.887 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.4866, allocations: 315.3 kB / 446 MB, free: 2.535 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.4872, allocations: 177.2 kB / 446.2 MB, free: 2.359 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4872, allocations: 4.188 kB / 446.2 MB, free: 2.355 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4872, allocations: 34.75 kB / 446.2 MB, free: 2.312 MB / 331.1 MB Notification: Performance of pre-optimization done (n=21): time 2.515e-06/0.4873, allocations: 0 / 446.2 MB, free: 2.312 MB / 331.1 MB Notification: Performance of matching and sorting (n=25): time 0.00169/0.489, allocations: 0.6535 MB / 446.9 MB, free: 1.605 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.489, allocations: 55.41 kB / 446.9 MB, free: 1.539 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4893, allocations: 158.6 kB / 447.1 MB, free: 1.371 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.4893, allocations: 25.7 kB / 447.1 MB, free: 1.34 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4894, allocations: 232.6 kB / 447.3 MB, free: 1.113 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/0.4895, allocations: 90.66 kB / 447.4 MB, free: 1.023 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.4896, allocations: 4 kB / 447.4 MB, free: 1.02 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4897, allocations: 322.8 kB / 447.7 MB, free: 0.6953 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4899, allocations: 60.56 kB / 447.8 MB, free: 0.6367 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4901, allocations: 86.11 kB / 447.9 MB, free: 0.5508 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4903, allocations: 71.95 kB / 447.9 MB, free: 492 kB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4903, allocations: 0 / 447.9 MB, free: 492 kB / 331.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007456/0.491, allocations: 270.2 kB / 448.2 MB, free: 212 kB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4911, allocations: 11.95 kB / 448.2 MB, free: 200 kB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4911, allocations: 0 / 448.2 MB, free: 200 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.4915, allocations: 68.83 kB / 448.3 MB, free: 128 kB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.4918, allocations: 47.91 kB / 448.3 MB, free: 80 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.4944, allocations: 1.795 MB / 450.1 MB, free: 14.17 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4947, allocations: 7.969 kB / 450.1 MB, free: 14.16 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.4948, allocations: 4 kB / 450.1 MB, free: 14.16 MB / 347.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 () * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.4949, allocations: 112.9 kB / 450.3 MB, free: 14.04 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006426/0.4956, allocations: 251.5 kB / 450.5 MB, free: 13.79 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.4956, allocations: 15.81 kB / 450.5 MB, free: 13.77 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.074e-05/0.4957, allocations: 26.52 kB / 450.5 MB, free: 13.74 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4957, allocations: 4 kB / 450.5 MB, free: 13.74 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4957, allocations: 0 / 450.5 MB, free: 13.74 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4958, allocations: 11.94 kB / 450.6 MB, free: 13.73 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.4972, allocations: 0.6584 MB / 451.2 MB, free: 13.02 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.4972, allocations: 1.625 kB / 451.2 MB, free: 13.02 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.4976, allocations: 38.98 kB / 451.3 MB, free: 12.99 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.4979, allocations: 76.73 kB / 451.3 MB, free: 12.91 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.498, allocations: 7.953 kB / 451.3 MB, free: 12.9 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.5003, allocations: 1.702 MB / 453 MB, free: 11.09 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5003, allocations: 0 / 453 MB, free: 11.09 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.5012, allocations: 422.2 kB / 453.5 MB, free: 10.66 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.5013, allocations: 100.8 kB / 453.5 MB, free: 10.54 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.5014, allocations: 3.984 kB / 453.6 MB, free: 10.54 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.5017, allocations: 11.66 kB / 453.6 MB, free: 10.53 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.5018, allocations: 15.97 kB / 453.6 MB, free: 10.51 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.5018, allocations: 16 kB / 453.6 MB, free: 10.5 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.502, allocations: 128.6 kB / 453.7 MB, free: 10.37 MB / 347.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.502, allocations: 3.938 kB / 453.7 MB, free: 10.37 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.5026, allocations: 68 kB / 453.8 MB, free: 10.3 MB / 347.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 () * 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.001231/0.5039, allocations: 0.9626 MB / 454.8 MB, free: 9.305 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0008314/0.5047, allocations: 318.2 kB / 455.1 MB, free: 8.984 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5047, allocations: 0 / 455.1 MB, free: 8.984 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.5053, allocations: 237.6 kB / 455.3 MB, free: 8.742 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.5058, allocations: 27.58 kB / 455.3 MB, free: 8.719 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.5077, allocations: 0.705 MB / 456 MB, free: 7.98 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.5081, allocations: 0.7717 MB / 456.8 MB, free: 7.18 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.5083, allocations: 87.41 kB / 456.9 MB, free: 7.094 MB / 347.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5083, allocations: 0 / 456.9 MB, free: 7.094 MB / 347.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.718/3.227, allocations: 4.971 MB / 461.9 MB, free: 2.133 MB / 347.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat