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.001524/0.001528, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.02/2.02, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001144/0.001144, allocations: 107.1 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004326, allocations: 12 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3377, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4666, allocations: 78.82 MB / 453.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4669, allocations: 67.97 kB / 453.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05642/0.5233, allocations: 12.79 MB / 466.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.781e-06/0.5234, allocations: 11.94 kB / 466.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.985e-05/0.5235, allocations: 19.94 kB / 466.3 MB, free: 4.969 MB / 346.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.003396/0.5269, allocations: 1.072 MB / 467.4 MB, free: 3.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.527, allocations: 8.031 kB / 467.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004012/0.5274, allocations: 147.9 kB / 467.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.5277, allocations: 110.7 kB / 467.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009834/0.5287, allocations: 446.1 kB / 468.1 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/0.5288, allocations: 70 kB / 468.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.529, allocations: 103.8 kB / 468.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.5314, allocations: 0.848 MB / 469.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.5315, allocations: 3.938 kB / 469.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.5316, allocations: 44 kB / 469.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.5317, allocations: 24 kB / 469.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.5335, allocations: 0.5661 MB / 469.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007756/0.5413, allocations: 2.996 MB / 472.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.5422, allocations: 295 kB / 473 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.5422, allocations: 4 kB / 473.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.5423, allocations: 42.56 kB / 473.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.316e-06/0.5423, allocations: 0 / 473.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002607/0.5449, allocations: 0.6549 MB / 473.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.545, allocations: 59.36 kB / 473.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009105/0.546, allocations: 465.6 kB / 474.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.5461, allocations: 37.7 kB / 474.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.5465, allocations: 0.5117 MB / 474.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.5467, allocations: 157.8 kB / 475 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.5468, allocations: 16 kB / 475 MB, free: 12.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.547, allocations: 338.8 kB / 475.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.5475, allocations: 173.9 kB / 475.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.5483, allocations: 445.6 kB / 475.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.549, allocations: 238 kB / 476.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.549, allocations: 4 kB / 476.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0021/0.5511, allocations: 0.7262 MB / 476.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.5512, allocations: 12 kB / 476.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.5513, allocations: 8 kB / 476.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/0.5518, allocations: 88.91 kB / 477 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5532, allocations: 199.7 kB / 477.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.5562, allocations: 1.834 MB / 479 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009373/0.5572, allocations: 87.19 kB / 479.1 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.5573, allocations: 36 kB / 479.1 MB, free: 7.574 MB / 362.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 () * 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.0005034/0.5578, allocations: 214 kB / 479.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.558, allocations: 63.25 kB / 479.4 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.5582, allocations: 61.52 kB / 479.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5582, allocations: 11.95 kB / 479.5 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.5583, allocations: 3.984 kB / 479.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5583, allocations: 0 / 479.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.5595, allocations: 0.6377 MB / 480.1 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5596, allocations: 0 / 480.1 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.5604, allocations: 95.88 kB / 480.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/0.5608, allocations: 72.8 kB / 480.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.5609, allocations: 12 kB / 480.3 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.5636, allocations: 1.827 MB / 482.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5637, allocations: 3.938 kB / 482.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.5655, allocations: 0.6698 MB / 482.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.5658, allocations: 132.4 kB / 482.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5659, allocations: 11.94 kB / 482.9 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/0.5667, allocations: 55.97 kB / 483 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5669, allocations: 31.73 kB / 483 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.5669, allocations: 15.98 kB / 483 MB, free: 3.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007013/0.5676, allocations: 338.9 kB / 483.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5677, allocations: 4 kB / 483.4 MB, free: 3.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001264/0.5689, allocations: 247.1 kB / 483.6 MB, free: 2.867 MB / 362.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 () * 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.00227/0.5712, allocations: 1.221 MB / 484.8 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.573, allocations: 0.5923 MB / 485.4 MB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5731, allocations: 0 / 485.4 MB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.5739, allocations: 316.1 kB / 485.7 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.575, allocations: 118.7 kB / 485.9 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.5869, allocations: 9.902 MB / 495.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.5877, allocations: 0.9534 MB / 496.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.5883, allocations: 267.3 kB / 497 MB, free: 5.172 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5883, allocations: 0 / 497 MB, free: 5.172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.225/3.813, allocations: 14 MB / 0.499 GB, free: 105.4 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