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.001086/0.001086, allocations: 172.6 kB / 14.1 MB, free: 1.223 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.361/1.361, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008064/0.0008065, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.379e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07422/0.07426, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2806/0.3549, allocations: 81.33 MB / 451.4 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.3552, allocations: 75.55 kB / 451.5 MB, free: 11.96 MB / 330.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.1046/0.4597, allocations: 40.6 MB / 492.1 MB, free: 4.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4598, allocations: 0 / 492.1 MB, free: 4.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.297e-05/0.4599, allocations: 59.98 kB / 492.2 MB, free: 4.621 MB / 362.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.00554/0.4654, allocations: 2.53 MB / 494.7 MB, free: 2.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4655, allocations: 12.03 kB / 494.7 MB, free: 2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006334/0.4661, allocations: 354.8 kB / 495.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.4667, allocations: 284.5 kB / 495.3 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.4685, allocations: 1.024 MB / 496.4 MB, free: 300 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4686, allocations: 201.1 kB / 496.6 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.469, allocations: 263.9 kB / 496.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/0.4732, allocations: 2.568 MB / 499.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.4732, allocations: 3.938 kB / 499.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.4735, allocations: 104 kB / 499.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.4735, allocations: 67.94 kB / 499.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.4768, allocations: 1.878 MB / 0.4897 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.4909, allocations: 9.673 MB / 0.4991 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005674/0.4966, allocations: 2.801 MB / 0.5019 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.4981, allocations: 1.051 MB / 0.5029 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.4983, allocations: 22 kB / 0.5029 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.4998, allocations: 0.9411 MB / 0.5038 GB, free: 12.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=218): time 4.449e-06/0.4998, allocations: 0 / 0.5038 GB, free: 12.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.004999/0.5049, allocations: 2.492 MB / 0.5063 GB, free: 9.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.5049, allocations: 81.39 kB / 0.5063 GB, free: 9.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5065, allocations: 1.02 MB / 0.5073 GB, free: 8.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.5066, allocations: 65.7 kB / 0.5074 GB, free: 8.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/0.5073, allocations: 0.9128 MB / 0.5083 GB, free: 7.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006599/0.508, allocations: 0.6933 MB / 0.509 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5081, allocations: 48 kB / 0.509 GB, free: 6.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5083, allocations: 399 kB / 0.5094 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.5095, allocations: 0.6729 MB / 0.51 GB, free: 5.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.511, allocations: 1.232 MB / 0.5113 GB, free: 4.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.5123, allocations: 0.7632 MB / 0.512 GB, free: 3.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.5123, allocations: 4 kB / 0.512 GB, free: 3.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00573/0.5181, allocations: 3.004 MB / 0.5149 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.5181, allocations: 20.09 kB / 0.515 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.5182, allocations: 16 kB / 0.515 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003286/0.5214, allocations: 1.179 MB / 0.5161 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/0.5224, allocations: 283.5 kB / 0.5164 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2342/0.7566, allocations: 22.26 MB / 0.5381 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.7587, allocations: 342.3 kB / 0.5385 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.7588, allocations: 91.88 kB / 0.5385 GB, free: 100.6 MB / 410.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 () * 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.0003949/0.7592, allocations: 274.9 kB / 0.5388 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.7595, allocations: 184.8 kB / 0.539 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/0.76, allocations: 222.6 kB / 0.5392 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.76, allocations: 20.59 kB / 0.5392 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.885e-05/0.7601, allocations: 21.55 kB / 0.5392 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.7601, allocations: 11.84 kB / 0.5392 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.7631, allocations: 2.086 MB / 0.5413 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.7631, allocations: 2.75 kB / 0.5413 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.7638, allocations: 142.2 kB / 0.5414 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.767, allocations: 1.152 MB / 0.5425 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.7671, allocations: 44.05 kB / 0.5426 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/0.7861, allocations: 22.25 MB / 0.5643 GB, free: 84.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.7862, allocations: 0 / 0.5643 GB, free: 84.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006409/0.7926, allocations: 3.575 MB / 0.5678 GB, free: 83.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/0.7934, allocations: 474 kB / 0.5683 GB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.7937, allocations: 39.59 kB / 0.5683 GB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7949, allocations: 133 kB / 0.5684 GB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006394/0.7955, allocations: 270.3 kB / 0.5687 GB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.7956, allocations: 55.23 kB / 0.5687 GB, free: 82.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009332/0.7966, allocations: 0.7211 MB / 0.5694 GB, free: 82.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7966, allocations: 0 / 0.5694 GB, free: 82.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002419/0.799, allocations: 0.8005 MB / 0.5702 GB, free: 82.28 MB / 410.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 () * 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.005649/0.8047, allocations: 4.202 MB / 0.5743 GB, free: 80.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005133/0.8098, allocations: 3.951 MB / 0.5782 GB, free: 77.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8098, allocations: 0 / 0.5782 GB, free: 77.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003432/0.8133, allocations: 2.985 MB / 0.5811 GB, free: 75.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.8148, allocations: 334.7 kB / 0.5814 GB, free: 75.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/0.8221, allocations: 4.254 MB / 0.5856 GB, free: 73.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.8232, allocations: 1.592 MB / 0.5871 GB, free: 72.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007432/0.8239, allocations: 150.5 kB / 0.5873 GB, free: 72.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/0.8248, allocations: 0.7749 MB / 0.588 GB, free: 72.02 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.8248, allocations: 0 / 0.588 GB, free: 72.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07389/0.8987, allocations: 47.98 MB / 0.6349 GB, free: 38.38 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.899, allocations: 184.1 kB / 0.6351 GB, free: 38.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.436/4.335, allocations: 0 / 0.6351 GB, free: 38.14 MB / 410.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