Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 181.1 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001196, allocations: 93.08 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003136, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3087, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.423, allocations: 82.62 MB / 484.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4233, allocations: 79.91 kB / 484.3 MB, free: 13.73 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.4142/0.8376, allocations: 41.58 MB / 0.5135 GB, free: 85.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.8376, allocations: 0 / 0.5135 GB, free: 85.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002012/0.8379, allocations: 57.31 kB / 0.5136 GB, free: 85.11 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.007034/0.8449, allocations: 2.732 MB / 0.5163 GB, free: 83.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.845, allocations: 9.75 kB / 0.5163 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005869/0.8456, allocations: 355.9 kB / 0.5166 GB, free: 83.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.846, allocations: 293.6 kB / 0.5169 GB, free: 83.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.8474, allocations: 1.028 MB / 0.5179 GB, free: 83.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.8476, allocations: 196.7 kB / 0.5181 GB, free: 83.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.8479, allocations: 264.9 kB / 0.5183 GB, free: 83.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/0.8517, allocations: 2.607 MB / 0.5209 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.8518, allocations: 7.344 kB / 0.5209 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.852, allocations: 116 kB / 0.521 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/0.852, allocations: 63.44 kB / 0.521 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.8552, allocations: 1.946 MB / 0.5229 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.8685, allocations: 9.674 MB / 0.5324 GB, free: 76.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005054/0.8737, allocations: 2.817 MB / 0.5351 GB, free: 73.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.508e-05/0.8738, allocations: 22 kB / 0.5352 GB, free: 73.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.8753, allocations: 0.9669 MB / 0.5361 GB, free: 72.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 4.608e-06/0.8753, allocations: 0 / 0.5361 GB, free: 72.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01169/0.887, allocations: 5.483 MB / 0.5415 GB, free: 67.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.8871, allocations: 87.59 kB / 0.5415 GB, free: 67.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.8884, allocations: 1.038 MB / 0.5426 GB, free: 66.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.8885, allocations: 65.7 kB / 0.5426 GB, free: 66.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.889, allocations: 0.9228 MB / 0.5435 GB, free: 65.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.8894, allocations: 0.6832 MB / 0.5442 GB, free: 64.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.8895, allocations: 48 kB / 0.5442 GB, free: 64.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8896, allocations: 403 kB / 0.5446 GB, free: 64.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.8907, allocations: 0.6999 MB / 0.5453 GB, free: 63.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.8919, allocations: 1.255 MB / 0.5465 GB, free: 62.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.893, allocations: 0.779 MB / 0.5473 GB, free: 61.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.893, allocations: 8 kB / 0.5473 GB, free: 61.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004814/0.8978, allocations: 3.062 MB / 0.5503 GB, free: 58.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.8979, allocations: 12 kB / 0.5503 GB, free: 58.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.8979, allocations: 16 kB / 0.5503 GB, free: 58.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.9008, allocations: 1.182 MB / 0.5515 GB, free: 57.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/0.9017, allocations: 287.5 kB / 0.5517 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.9196, allocations: 22.76 MB / 0.574 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.922, allocations: 341.6 kB / 0.5743 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/0.9224, allocations: 92 kB / 0.5744 GB, free: 32.18 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.001149/0.9236, allocations: 495.1 kB / 0.5749 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.924, allocations: 185.7 kB / 0.575 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.9244, allocations: 226.3 kB / 0.5753 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.9244, allocations: 20 kB / 0.5753 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.631e-05/0.9245, allocations: 20 kB / 0.5753 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.9245, allocations: 15.94 kB / 0.5753 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.927, allocations: 2.088 MB / 0.5773 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.9271, allocations: 0 / 0.5773 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.9278, allocations: 139.8 kB / 0.5775 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/0.9306, allocations: 1.166 MB / 0.5786 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.9307, allocations: 43.98 kB / 0.5787 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/0.9485, allocations: 22.74 MB / 0.6009 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9486, allocations: 4.031 kB / 0.6009 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006667/0.9553, allocations: 3.635 MB / 0.6044 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.9565, allocations: 470.5 kB / 0.6049 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.9568, allocations: 36 kB / 0.6049 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.958, allocations: 131.9 kB / 0.605 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007471/0.9588, allocations: 277.5 kB / 0.6053 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9589, allocations: 55.98 kB / 0.6053 GB, free: 14.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001001/0.9599, allocations: 0.7321 MB / 0.6061 GB, free: 14.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9599, allocations: 0 / 0.6061 GB, free: 14.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002782/0.9627, allocations: 0.7953 MB / 0.6068 GB, free: 13.24 MB / 394.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.006655/0.9693, allocations: 4.268 MB / 0.611 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00617/0.9755, allocations: 4.057 MB / 0.615 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9756, allocations: 0 / 0.615 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004425/0.98, allocations: 3.057 MB / 0.6179 GB, free: 1.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.9818, allocations: 335.6 kB / 0.6183 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/1.009, allocations: 24.13 MB / 0.6418 GB, free: 8.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.01, allocations: 1.596 MB / 0.6434 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008663/1.011, allocations: 147 kB / 0.6435 GB, free: 6.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008524/1.012, allocations: 0.7805 MB / 0.6443 GB, free: 5.664 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/1.012, allocations: 0 / 0.6443 GB, free: 5.664 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3219/1.334, allocations: 47.77 MB / 0.6909 GB, free: 127 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/1.334, allocations: 201.4 kB / 0.6911 GB, free: 126.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.092/5.426, allocations: 0 / 0.6911 GB, free: 126.8 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassSC_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassSC.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat