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.001569/0.001573, allocations: 187 kB / 16.4 MB, free: 5.621 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.296/2.296, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001114/0.001114, allocations: 94.8 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005124, allocations: 8 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.09562, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007295/0.103, allocations: 4.513 MB / 379.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.1063, allocations: 1.252 MB / 380.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.1072, allocations: 16 kB / 380.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1076, allocations: 115.1 kB / 380.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.1088, allocations: 335 kB / 380.9 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.1095, allocations: 159.8 kB / 381 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1112, allocations: 0.7309 MB / 381.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008583/0.1121, allocations: 400.2 kB / 382.1 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.1127, allocations: 334.8 kB / 382.5 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.1134, allocations: 390.2 kB / 382.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.1135, allocations: 52 kB / 382.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.1137, allocations: 48 kB / 382.9 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.114, allocations: 159.3 kB / 383.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.1142, allocations: 193.3 kB / 383.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1154, allocations: 0.8025 MB / 384.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1155, allocations: 0 / 384.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1155, allocations: 0 / 384.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.1155, allocations: 0 / 384.1 MB, free: 5.824 MB / 282.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.002848/0.1184, allocations: 1.091 MB / 385.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1184, allocations: 8.031 kB / 385.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/0.1188, allocations: 151.9 kB / 385.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.119, allocations: 110.7 kB / 385.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.1199, allocations: 438.1 kB / 385.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.12, allocations: 70 kB / 385.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.1202, allocations: 99.91 kB / 386 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.1225, allocations: 0.8479 MB / 386.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.1225, allocations: 0 / 386.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.1227, allocations: 44 kB / 386.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.1227, allocations: 24 kB / 386.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.1245, allocations: 0.5738 MB / 387.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2648/0.3893, allocations: 2.966 MB / 390.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.3902, allocations: 302.4 kB / 390.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.3902, allocations: 4.906 kB / 390.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3903, allocations: 42.69 kB / 390.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.387e-06/0.3903, allocations: 0.9688 kB / 390.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.002556/0.3929, allocations: 0.6577 MB / 391.5 MB, free: 18.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.393, allocations: 56.28 kB / 391.5 MB, free: 18.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.3939, allocations: 0.5027 MB / 392 MB, free: 18.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.394, allocations: 35.45 kB / 392.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.3944, allocations: 0.526 MB / 392.6 MB, free: 18.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.3946, allocations: 155.6 kB / 392.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.3946, allocations: 13.97 kB / 392.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.3947, allocations: 345.7 kB / 393.1 MB, free: 18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.3953, allocations: 167.6 kB / 393.3 MB, free: 17.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.3959, allocations: 449.5 kB / 393.7 MB, free: 17.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/0.3966, allocations: 240.8 kB / 393.9 MB, free: 17.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.3966, allocations: 2.312 kB / 393.9 MB, free: 17.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001925/0.3985, allocations: 0.7259 MB / 394.7 MB, free: 17.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.3986, allocations: 9.797 kB / 394.7 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.3987, allocations: 10.19 kB / 394.7 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.3991, allocations: 92.42 kB / 394.8 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.4005, allocations: 195.6 kB / 395 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.4037, allocations: 1.83 MB / 396.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008949/0.4046, allocations: 90.34 kB / 396.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.4047, allocations: 35.88 kB / 396.9 MB, free: 15.41 MB / 282.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.0004239/0.4051, allocations: 208.3 kB / 397.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4053, allocations: 58.84 kB / 397.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.4054, allocations: 62.36 kB / 397.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.4054, allocations: 8.312 kB / 397.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/0.4055, allocations: 1.641 kB / 397.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4055, allocations: 10.89 kB / 397.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.4067, allocations: 0.6441 MB / 397.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4067, allocations: 0 / 397.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/0.4076, allocations: 103.9 kB / 398 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/0.408, allocations: 77.66 kB / 398.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.408, allocations: 7.547 kB / 398.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.4103, allocations: 1.81 MB / 399.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4104, allocations: 0 / 399.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.412, allocations: 0.6665 MB / 400.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.4123, allocations: 131.6 kB / 400.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4124, allocations: 8.203 kB / 400.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.4132, allocations: 53.19 kB / 400.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.4134, allocations: 33.27 kB / 400.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.4134, allocations: 13.58 kB / 400.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006196/0.4141, allocations: 347.6 kB / 401.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4141, allocations: 0 / 401.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001369/0.4155, allocations: 244.9 kB / 401.4 MB, free: 12.41 MB / 282.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.001959/0.4175, allocations: 1.216 MB / 402.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.4192, allocations: 0.591 MB / 403.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.4192, allocations: 1.188 kB / 403.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.4201, allocations: 319.8 kB / 403.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.4211, allocations: 113.9 kB / 403.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4313, allocations: 9.91 MB / 413.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.432, allocations: 0.9474 MB / 414.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.4325, allocations: 267.5 kB / 414.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4325, allocations: 0 / 414.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.264/3.697, allocations: 14.01 MB / 428.7 MB, free: 8.297 MB / 298.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