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.002492/0.002498, allocations: 183.5 kB / 16.4 MB, free: 5.754 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.166/2.166, 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.001111/0.001111, allocations: 82.97 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004313, allocations: 16 kB / 327.1 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 47.57 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003252/0.3405, allocations: 2.22 MB / 376.8 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3421, allocations: 0.6478 MB / 377.5 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3424, allocations: 5.375 kB / 377.5 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.861e-05/0.3425, allocations: 36.16 kB / 377.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.3428, allocations: 96.59 kB / 377.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3431, allocations: 55.64 kB / 377.7 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.3435, allocations: 237 kB / 377.9 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.3438, allocations: 108.5 kB / 378 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.344, allocations: 109.4 kB / 378.1 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3442, allocations: 120.6 kB / 378.2 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.832e-05/0.3443, allocations: 15.53 kB / 378.3 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.3444, allocations: 17.12 kB / 378.3 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.3445, allocations: 56 kB / 378.3 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.3446, allocations: 78.11 kB / 378.4 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.3449, allocations: 260.2 kB / 378.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3449, allocations: 0 / 378.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3449, allocations: 0.9688 kB / 378.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3449, allocations: 3.938 kB / 378.7 MB, free: 42.38 MB / 298.7 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.001079/0.346, allocations: 0.5452 MB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3461, allocations: 10.31 kB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.529e-05/0.3462, allocations: 66.75 kB / 379.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.798e-05/0.3463, allocations: 33.41 kB / 379.3 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.3467, allocations: 259.1 kB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.3467, allocations: 22.59 kB / 379.6 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.3468, allocations: 31.16 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.3475, allocations: 243 kB / 379.9 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3476, allocations: 0 / 379.9 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.3476, allocations: 19.53 kB / 379.9 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.3476, allocations: 6.438 kB / 379.9 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.3482, allocations: 186.6 kB / 380.1 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.3506, allocations: 1.024 MB / 381.1 MB, free: 40.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005678/0.3512, allocations: 333 kB / 381.4 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3513, allocations: 2.5 kB / 381.4 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3513, allocations: 31.75 kB / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.386e-06/0.3513, allocations: 0 / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.002331/0.3537, allocations: 0.786 MB / 382.2 MB, free: 39.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3537, allocations: 53.72 kB / 382.3 MB, free: 39.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.354, allocations: 191.5 kB / 382.5 MB, free: 39.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3541, allocations: 35.2 kB / 382.5 MB, free: 39.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3542, allocations: 233.7 kB / 382.7 MB, free: 39.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.3543, allocations: 93.3 kB / 382.8 MB, free: 39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.3543, allocations: 5.156 kB / 382.8 MB, free: 39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.3544, allocations: 325.2 kB / 383.2 MB, free: 38.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.3546, allocations: 71.22 kB / 383.2 MB, free: 38.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3549, allocations: 96.27 kB / 383.3 MB, free: 38.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3551, allocations: 99.5 kB / 383.4 MB, free: 38.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3552, allocations: 0 / 383.4 MB, free: 38.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008504/0.356, allocations: 312.1 kB / 383.7 MB, free: 38.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3561, allocations: 8.25 kB / 383.7 MB, free: 38.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3561, allocations: 5.484 kB / 383.7 MB, free: 38.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.3566, allocations: 87.64 kB / 383.8 MB, free: 38.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.3569, allocations: 44.66 kB / 383.9 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.3595, allocations: 1.925 MB / 385.8 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.3598, allocations: 15.27 kB / 385.8 MB, free: 36.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3599, allocations: 6.656 kB / 385.8 MB, free: 36.55 MB / 298.7 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 () * Number of clocked 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.3601, allocations: 145 kB / 386 MB, free: 36.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.3602, allocations: 22.81 kB / 386 MB, free: 36.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.3602, allocations: 25.28 kB / 386 MB, free: 36.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3602, allocations: 6.594 kB / 386 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.3603, allocations: 6.141 kB / 386 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3603, allocations: 0 / 386 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.3619, allocations: 0.7515 MB / 386.8 MB, free: 35.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3619, allocations: 0 / 386.8 MB, free: 35.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.3623, allocations: 39.67 kB / 386.8 MB, free: 35.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/0.3627, allocations: 67.83 kB / 386.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.3627, allocations: 10.34 kB / 386.9 MB, free: 35.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.365, allocations: 1.812 MB / 388.7 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.365, allocations: 0 / 388.7 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.366, allocations: 471.9 kB / 389.2 MB, free: 33.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.3661, allocations: 96.97 kB / 389.2 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.3662, allocations: 8.109 kB / 389.3 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.3665, allocations: 15.89 kB / 389.3 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.3666, allocations: 19.97 kB / 389.3 MB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3666, allocations: 4 kB / 389.3 MB, free: 33.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.3668, allocations: 152.3 kB / 389.4 MB, free: 33.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3668, allocations: 0 / 389.4 MB, free: 33.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006117/0.3674, allocations: 80 kB / 389.5 MB, free: 33.23 MB / 298.7 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 () * Number of clocked 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.0012/0.3686, allocations: 0.9949 MB / 390.5 MB, free: 32.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009262/0.3696, allocations: 374.6 kB / 390.9 MB, free: 31.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3696, allocations: 4 kB / 390.9 MB, free: 31.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006148/0.3702, allocations: 254.5 kB / 391.1 MB, free: 31.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3707, allocations: 36 kB / 391.2 MB, free: 31.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.3743, allocations: 1.961 MB / 393.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3746, allocations: 0.7753 MB / 393.9 MB, free: 28.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3747, allocations: 83.41 kB / 394 MB, free: 28.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3748, allocations: 0 / 394 MB, free: 28.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.055/3.43, allocations: 5.069 MB / 399.1 MB, free: 23.55 MB / 298.7 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