Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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.CauerLowPassSC,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC",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.001232/0.001232, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0009107/0.0009107, allocations: 88.11 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002607, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 47.57 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08395/0.2896, allocations: 81.42 MB / 457.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.2898, allocations: 71.95 kB / 457.4 MB, free: 15.16 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/Analog/Examples/Utilities/SwitchedCapacitor.mo:41:3-41:79:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.09629/0.3861, allocations: 40.51 MB / 497.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3862, allocations: 0 / 497.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.2e-05/0.3863, allocations: 59.98 kB / 498 MB, free: 6.441 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.005097/0.3914, allocations: 2.728 MB / 0.489 GB, free: 3.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3914, allocations: 8.031 kB / 0.489 GB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004282/0.3919, allocations: 358.7 kB / 0.4893 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003869/0.3923, allocations: 288.6 kB / 0.4896 GB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.3937, allocations: 1.028 MB / 0.4906 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.3939, allocations: 197.2 kB / 0.4908 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.3942, allocations: 263.8 kB / 0.491 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1709/0.5651, allocations: 2.616 MB / 0.4936 GB, free: 87.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.5652, allocations: 5.469 kB / 0.4936 GB, free: 87.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.5654, allocations: 107.9 kB / 0.4937 GB, free: 87.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.5656, allocations: 64.09 kB / 0.4938 GB, free: 87.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/0.569, allocations: 1.947 MB / 0.4957 GB, free: 87.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.5808, allocations: 9.673 MB / 0.5051 GB, free: 84.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.5855, allocations: 2.834 MB / 0.5079 GB, free: 84.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.5856, allocations: 23.56 kB / 0.5079 GB, free: 84.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.5869, allocations: 0.9563 MB / 0.5088 GB, free: 84.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 3.407e-06/0.5869, allocations: 0 / 0.5088 GB, free: 84.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01081/0.5977, allocations: 5.5 MB / 0.5142 GB, free: 81.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5977, allocations: 87.7 kB / 0.5143 GB, free: 81.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.5988, allocations: 1.039 MB / 0.5153 GB, free: 81.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.5989, allocations: 63.55 kB / 0.5154 GB, free: 81.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.5995, allocations: 0.9161 MB / 0.5163 GB, free: 80.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.5999, allocations: 0.6838 MB / 0.5169 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.6, allocations: 52.19 kB / 0.517 GB, free: 80.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.6001, allocations: 393.6 kB / 0.5173 GB, free: 79.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.6011, allocations: 0.7026 MB / 0.518 GB, free: 79.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.6023, allocations: 1.258 MB / 0.5193 GB, free: 78.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6034, allocations: 0.7812 MB / 0.52 GB, free: 78.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.6034, allocations: 5.594 kB / 0.52 GB, free: 78.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004774/0.6082, allocations: 3.069 MB / 0.523 GB, free: 76.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.6082, allocations: 13.53 kB / 0.523 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.6083, allocations: 15.22 kB / 0.5231 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.6113, allocations: 1.185 MB / 0.5242 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.6122, allocations: 290.8 kB / 0.5245 GB, free: 76.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/0.6297, allocations: 22.75 MB / 0.5467 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.6316, allocations: 338 kB / 0.547 GB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.6318, allocations: 101.3 kB / 0.5471 GB, free: 56.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R4.BooleanPulse.pulseStart,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,$PRE.R5.BooleanPulse.pulseStart,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,$PRE.R8.BooleanPulse.pulseStart,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,$PRE.R9.BooleanPulse.pulseStart,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,$PRE.R1.BooleanPulse.pulseStart,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,$PRE.R2.BooleanPulse.pulseStart,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,$PRE.R3.BooleanPulse.pulseStart,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,$PRE.Rp1.BooleanPulse.pulseStart,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,$PRE.R7.BooleanPulse.pulseStart,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,$PRE.R10.BooleanPulse.pulseStart,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,$PRE.R11.BooleanPulse.pulseStart,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1,R11.lessEqualThreshold.y,R10.lessEqualThreshold.y,R7.lessEqualThreshold.y,Rp1.lessEqualThreshold.y,R3.lessEqualThreshold.y,R2.lessEqualThreshold.y,R1.lessEqualThreshold.y,R9.lessEqualThreshold.y,R8.lessEqualThreshold.y,R5.lessEqualThreshold.y,R4.lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 187 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001055/0.6329, allocations: 490.4 kB / 0.5476 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.6333, allocations: 187 kB / 0.5478 GB, free: 56.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.6337, allocations: 220.2 kB / 0.548 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.6337, allocations: 20.78 kB / 0.548 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-05/0.6338, allocations: 16.47 kB / 0.548 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.6338, allocations: 14.8 kB / 0.548 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.6363, allocations: 2.097 MB / 0.5501 GB, free: 54.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.6363, allocations: 0 / 0.5501 GB, free: 54.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.637, allocations: 137.4 kB / 0.5502 GB, free: 54.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.6398, allocations: 1.177 MB / 0.5514 GB, free: 53.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.64, allocations: 43.23 kB / 0.5514 GB, free: 53.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/0.6572, allocations: 22.73 MB / 0.5736 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6572, allocations: 0 / 0.5736 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00623/0.6635, allocations: 3.65 MB / 0.5772 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000888/0.6644, allocations: 462.2 kB / 0.5776 GB, free: 26.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/0.6647, allocations: 43.66 kB / 0.5776 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6659, allocations: 129.2 kB / 0.5778 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006275/0.6665, allocations: 281.7 kB / 0.578 GB, free: 26.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.931e-05/0.6666, allocations: 51.09 kB / 0.5781 GB, free: 25.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009033/0.6675, allocations: 0.7351 MB / 0.5788 GB, free: 25.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6675, allocations: 3.938 kB / 0.5788 GB, free: 25.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00225/0.6698, allocations: 0.7946 MB / 0.5796 GB, free: 24.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor.v,R5.Capacitor.v,R8.Capacitor.v,R9.Capacitor.v,R1.Capacitor.v,R2.Capacitor.v,R3.Capacitor.v,Rp1.Capacitor.v,R7.Capacitor.v,R10.Capacitor.v,R11.Capacitor.v) * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005604/0.6754, allocations: 4.283 MB / 0.5838 GB, free: 20.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004807/0.6802, allocations: 4.045 MB / 0.5877 GB, free: 16.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6802, allocations: 0 / 0.5877 GB, free: 16.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00331/0.6835, allocations: 3.076 MB / 0.5907 GB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.6851, allocations: 332.2 kB / 0.591 GB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/0.7066, allocations: 24.13 MB / 0.6146 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.7082, allocations: 1.596 MB / 0.6162 GB, free: 3.023 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000743/0.709, allocations: 147 kB / 0.6163 GB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009098/0.7099, allocations: 0.7805 MB / 0.6171 GB, free: 2.094 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7099, allocations: 0 / 0.6171 GB, free: 2.094 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/0.9542, allocations: 47.79 MB / 0.6637 GB, free: 118.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.9543, allocations: 198.4 kB / 0.6639 GB, free: 117.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.659/4.613, allocations: 0 / 0.6639 GB, free: 117.8 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat