Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008504/0.0008507, allocations: 96.83 kB / 16.94 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 183.7 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 16.78 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.0872, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00445/0.09171, allocations: 4.514 MB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.09412, allocations: 1.233 MB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.09452, allocations: 27.94 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.09472, allocations: 119.1 kB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.09525, allocations: 323.1 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.09561, allocations: 171.7 kB / 334.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007434/0.09636, allocations: 0.727 MB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005318/0.0969, allocations: 400.2 kB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.09726, allocations: 338.8 kB / 336.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.09768, allocations: 386.2 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.09777, allocations: 52 kB / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.09788, allocations: 52 kB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.09801, allocations: 163.3 kB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.09815, allocations: 193.2 kB / 337.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.09874, allocations: 0.7985 MB / 337.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.09875, allocations: 0 / 337.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.09876, allocations: 0 / 337.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.09878, allocations: 4 kB / 337.9 MB, free: 10.48 MB / 286.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.001597/0.1004, allocations: 1.091 MB / 339 MB, free: 9.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1004, allocations: 8.031 kB / 339 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.1006, allocations: 147.9 kB / 339.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.1007, allocations: 102.8 kB / 339.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.1012, allocations: 438.1 kB / 339.6 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.1013, allocations: 74 kB / 339.7 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.1014, allocations: 95.89 kB / 339.8 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1026, allocations: 0.8596 MB / 340.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1026, allocations: 0 / 340.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.1027, allocations: 40 kB / 340.7 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.1027, allocations: 20 kB / 340.7 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.1036, allocations: 0.5739 MB / 341.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.1074, allocations: 2.976 MB / 344.3 MB, free: 3.828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.1078, allocations: 298.4 kB / 344.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1078, allocations: 4 kB / 344.6 MB, free: 3.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1079, allocations: 38.56 kB / 344.6 MB, free: 3.477 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.1079, allocations: 0 / 344.6 MB, free: 3.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001339/0.1092, allocations: 0.6588 MB / 345.3 MB, free: 2.789 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1093, allocations: 59.41 kB / 345.3 MB, free: 2.719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.1098, allocations: 0.5102 MB / 345.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1098, allocations: 33.7 kB / 345.9 MB, free: 2.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.11, allocations: 489.6 kB / 346.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.1102, allocations: 157.7 kB / 346.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1102, allocations: 20 kB / 346.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1103, allocations: 362.7 kB / 346.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1106, allocations: 169.9 kB / 347 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.111, allocations: 453.6 kB / 347.5 MB, free: 408 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1113, allocations: 238 kB / 347.7 MB, free: 172 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1114, allocations: 4 kB / 347.7 MB, free: 168 kB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001076/0.1124, allocations: 0.761 MB / 348.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1125, allocations: 12 kB / 348.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1125, allocations: 8 kB / 348.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.1128, allocations: 84.81 kB / 348.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.1134, allocations: 203.8 kB / 348.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.115, allocations: 1.823 MB / 350.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.1155, allocations: 87.05 kB / 350.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.1155, allocations: 32 kB / 350.7 MB, free: 13.01 MB / 302.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 () * 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.0002525/0.1158, allocations: 221.6 kB / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.1159, allocations: 55.34 kB / 351 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.031e-05/0.116, allocations: 65.5 kB / 351.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.116, allocations: 4 kB / 351.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.116, allocations: 0 / 351.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.116, allocations: 4.516 kB / 351.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/0.1166, allocations: 0.657 MB / 351.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1167, allocations: 0 / 351.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.1171, allocations: 107.9 kB / 351.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.1173, allocations: 68.73 kB / 351.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1173, allocations: 11.98 kB / 351.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.1188, allocations: 1.811 MB / 353.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1188, allocations: 0 / 353.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.1196, allocations: 0.6698 MB / 354.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1198, allocations: 132.4 kB / 354.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.1198, allocations: 8 kB / 354.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.1202, allocations: 56.09 kB / 354.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.1203, allocations: 35.91 kB / 354.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1203, allocations: 8 kB / 354.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.1206, allocations: 342.9 kB / 355 MB, free: 8.547 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1207, allocations: 0 / 355 MB, free: 8.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007039/0.1214, allocations: 247.2 kB / 355.2 MB, free: 8.305 MB / 302.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 () * 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.001103/0.1225, allocations: 1.218 MB / 356.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009053/0.1234, allocations: 0.5976 MB / 357 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1234, allocations: 0 / 357 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.1238, allocations: 314.5 kB / 357.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.1243, allocations: 114.4 kB / 357.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.1309, allocations: 9.873 MB / 367.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.1314, allocations: 0.9454 MB / 368.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.1317, allocations: 69.22 kB / 368.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.1321, allocations: 267.3 kB / 368.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.645e-06/0.1321, allocations: 0 / 368.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1793/0.3114, allocations: 11.78 MB / 380.4 MB, free: 50.6 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.3116, allocations: 206.6 kB / 380.6 MB, free: 50.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.27, allocations: 0 / 380.6 MB, free: 50.36 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat