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.002245/0.002245, allocations: 177.8 kB / 8.36 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.034/2.034, 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.001104/0.001104, allocations: 93.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.503e-05, allocations: 4 kB / 314.9 MB, free: 9.074 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3379, allocations: 47.57 MB / 362.4 MB, free: 45.72 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4647, allocations: 78.07 MB / 440.5 MB, free: 8.152 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.465, allocations: 67.97 kB / 440.6 MB, free: 8.086 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05354/0.5186, allocations: 12.7 MB / 453.3 MB, free: 11.39 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5187, allocations: 0 / 453.3 MB, free: 11.39 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.527e-05/0.5187, allocations: 20 kB / 453.3 MB, free: 11.38 MB / 347.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.002765/0.5215, allocations: 1.012 MB / 454.3 MB, free: 10.32 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5216, allocations: 8.031 kB / 454.3 MB, free: 10.31 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.5219, allocations: 106.8 kB / 454.4 MB, free: 10.21 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.5228, allocations: 442.9 kB / 454.8 MB, free: 9.734 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.5229, allocations: 28 kB / 454.9 MB, free: 9.707 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.5231, allocations: 59.98 kB / 454.9 MB, free: 9.648 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/0.5246, allocations: 488 kB / 455.4 MB, free: 9.172 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.5265, allocations: 0.7036 MB / 456.1 MB, free: 8.445 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.5265, allocations: 7.984 kB / 456.1 MB, free: 8.438 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/0.5266, allocations: 0 / 456.1 MB, free: 8.438 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.5267, allocations: 24 kB / 456.1 MB, free: 8.414 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/0.5341, allocations: 2.839 MB / 459 MB, free: 5.473 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.5348, allocations: 266.6 kB / 459.2 MB, free: 5.203 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.5353, allocations: 244.8 kB / 459.5 MB, free: 4.961 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.5354, allocations: 12 kB / 459.5 MB, free: 4.949 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.5355, allocations: 38.56 kB / 459.5 MB, free: 4.902 MB / 347.1 MB Notification: Performance of pre-optimization done (n=42): time 3.737e-06/0.5355, allocations: 0 / 459.5 MB, free: 4.902 MB / 347.1 MB Notification: Performance of matching and sorting (n=42): time 0.001191/0.5367, allocations: 361.7 kB / 459.9 MB, free: 4.539 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5368, allocations: 55.41 kB / 459.9 MB, free: 4.473 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.5376, allocations: 409 kB / 460.3 MB, free: 4.062 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 8.704e-05/0.5377, allocations: 31.2 kB / 460.4 MB, free: 4.027 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.5381, allocations: 0.5272 MB / 460.9 MB, free: 3.492 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.5383, allocations: 149.8 kB / 461 MB, free: 3.344 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.5384, allocations: 0 / 461 MB, free: 3.344 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5386, allocations: 342.8 kB / 461.4 MB, free: 3 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.539, allocations: 145.6 kB / 461.5 MB, free: 2.855 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/0.5397, allocations: 410.7 kB / 461.9 MB, free: 2.332 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.5403, allocations: 214 kB / 462.1 MB, free: 2.121 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.5403, allocations: 4 kB / 462.1 MB, free: 2.117 MB / 347.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001775/0.5421, allocations: 0.6167 MB / 462.7 MB, free: 1.492 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.5422, allocations: 8 kB / 462.7 MB, free: 1.484 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.5422, allocations: 8 kB / 462.8 MB, free: 1.477 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.5427, allocations: 83.55 kB / 462.8 MB, free: 1.395 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.5441, allocations: 199.7 kB / 463 MB, free: 1.199 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.5469, allocations: 1.74 MB / 464.8 MB, free: 15.34 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/0.5479, allocations: 83.06 kB / 464.9 MB, free: 15.26 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.548, allocations: 38.53 kB / 464.9 MB, free: 15.23 MB / 363.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 () * 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.0002165/0.5482, allocations: 124.7 kB / 465 MB, free: 15.1 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001045/0.5493, allocations: 361.1 kB / 465.4 MB, free: 14.73 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.5494, allocations: 59.34 kB / 465.4 MB, free: 14.68 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.5496, allocations: 61.28 kB / 465.5 MB, free: 14.62 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5496, allocations: 4 kB / 465.5 MB, free: 14.61 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.5497, allocations: 4 kB / 465.5 MB, free: 14.61 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5497, allocations: 7.938 kB / 465.5 MB, free: 14.6 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5508, allocations: 0.521 MB / 466 MB, free: 14.04 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5508, allocations: 0 / 466 MB, free: 14.04 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.5517, allocations: 111.9 kB / 466.1 MB, free: 13.93 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/0.5521, allocations: 60.81 kB / 466.2 MB, free: 13.87 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.5522, allocations: 4 kB / 466.2 MB, free: 13.87 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.5547, allocations: 1.738 MB / 467.9 MB, free: 12.02 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.5548, allocations: 8.016 kB / 467.9 MB, free: 12.01 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.5563, allocations: 0.5872 MB / 468.5 MB, free: 11.41 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.5566, allocations: 136.4 kB / 468.7 MB, free: 11.25 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.5567, allocations: 0 / 468.7 MB, free: 11.25 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.5575, allocations: 43.97 kB / 468.7 MB, free: 11.21 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5576, allocations: 27.95 kB / 468.7 MB, free: 11.18 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.5577, allocations: 16 kB / 468.7 MB, free: 11.17 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0005308/0.5582, allocations: 302.9 kB / 469 MB, free: 10.88 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5582, allocations: 3.938 kB / 469 MB, free: 10.87 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001228/0.5595, allocations: 223.1 kB / 469.3 MB, free: 10.65 MB / 363.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 () * 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.001851/0.5614, allocations: 1.149 MB / 470.4 MB, free: 9.465 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.5628, allocations: 0.5134 MB / 470.9 MB, free: 8.941 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5629, allocations: 0 / 470.9 MB, free: 8.941 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.5636, allocations: 297.6 kB / 471.2 MB, free: 8.641 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.5645, allocations: 81.41 kB / 471.3 MB, free: 8.57 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.5683, allocations: 1.203 MB / 472.5 MB, free: 7.316 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.569, allocations: 0.9491 MB / 473.4 MB, free: 6.34 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/0.5697, allocations: 259.4 kB / 473.7 MB, free: 6.086 MB / 363.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5697, allocations: 3.938 kB / 473.7 MB, free: 6.082 MB / 363.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.844/3.414, allocations: 13.69 MB / 487.4 MB, free: 8.406 MB / 379.1 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