Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001014, allocations: 202.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.0008381, allocations: 104.7 kB / 297.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001848/0.0001848, allocations: 4 kB / 358 MB, free: 9.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1747, allocations: 51.48 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09158/0.2663, allocations: 83.43 MB / 492.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.2665, allocations: 79.95 kB / 493 MB, free: 7.043 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.2454/0.5119, allocations: 41.65 MB / 0.5221 GB, free: 83.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.512, allocations: 0 / 0.5221 GB, free: 83.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.453e-05/0.5121, allocations: 50.47 kB / 0.5222 GB, free: 83.88 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.004462/0.5165, allocations: 2.737 MB / 0.5248 GB, free: 82.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5166, allocations: 6.594 kB / 0.5249 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003317/0.5169, allocations: 353.9 kB / 0.5252 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.5172, allocations: 287.5 kB / 0.5255 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.5185, allocations: 1.026 MB / 0.5265 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.5186, allocations: 202 kB / 0.5267 GB, free: 81.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.5188, allocations: 259.8 kB / 0.5269 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/0.5221, allocations: 2.617 MB / 0.5295 GB, free: 79.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.5222, allocations: 3.938 kB / 0.5295 GB, free: 79.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.5224, allocations: 108 kB / 0.5296 GB, free: 79.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.5224, allocations: 64 kB / 0.5296 GB, free: 79.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.5251, allocations: 1.944 MB / 0.5315 GB, free: 77.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.5356, allocations: 9.681 MB / 0.541 GB, free: 67.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/0.5404, allocations: 2.815 MB / 0.5437 GB, free: 64.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/0.5405, allocations: 22 kB / 0.5438 GB, free: 64.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/0.5418, allocations: 0.9682 MB / 0.5447 GB, free: 63.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 3.758e-06/0.5418, allocations: 0 / 0.5447 GB, free: 63.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01133/0.5531, allocations: 5.488 MB / 0.5501 GB, free: 57.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.5532, allocations: 88.08 kB / 0.5501 GB, free: 57.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5542, allocations: 1.038 MB / 0.5512 GB, free: 56.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.5544, allocations: 65.7 kB / 0.5512 GB, free: 56.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.5548, allocations: 0.9194 MB / 0.5521 GB, free: 55.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.5551, allocations: 0.6877 MB / 0.5528 GB, free: 55.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.5552, allocations: 48 kB / 0.5528 GB, free: 55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.5553, allocations: 395 kB / 0.5532 GB, free: 54.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.5564, allocations: 0.7077 MB / 0.5539 GB, free: 53.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.5576, allocations: 1.251 MB / 0.5551 GB, free: 52.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.5587, allocations: 0.7867 MB / 0.5559 GB, free: 51.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5587, allocations: 4 kB / 0.5559 GB, free: 51.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004602/0.5633, allocations: 3.059 MB / 0.5589 GB, free: 48.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5633, allocations: 15.94 kB / 0.5589 GB, free: 48.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5634, allocations: 16 kB / 0.5589 GB, free: 48.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/0.5663, allocations: 1.185 MB / 0.5601 GB, free: 47.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.5671, allocations: 283.5 kB / 0.5603 GB, free: 46.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.5836, allocations: 22.75 MB / 0.5826 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.5854, allocations: 345.4 kB / 0.5829 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.5856, allocations: 92 kB / 0.583 GB, free: 22.23 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.0008511/0.5864, allocations: 495.7 kB / 0.5835 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.5866, allocations: 181.8 kB / 0.5836 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.587, allocations: 218.3 kB / 0.5838 GB, free: 21.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.587, allocations: 20.56 kB / 0.5839 GB, free: 21.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-05/0.5871, allocations: 16 kB / 0.5839 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.5871, allocations: 11.95 kB / 0.5839 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.5891, allocations: 2.094 MB / 0.5859 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.5891, allocations: 7.938 kB / 0.5859 GB, free: 19.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.5898, allocations: 147.8 kB / 0.5861 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.5926, allocations: 1.17 MB / 0.5872 GB, free: 17.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.5928, allocations: 43.98 kB / 0.5873 GB, free: 17.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.6111, allocations: 22.72 MB / 0.6094 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6111, allocations: 0 / 0.6094 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006593/0.6177, allocations: 3.643 MB / 0.613 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/0.6185, allocations: 466.3 kB / 0.6134 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.6187, allocations: 40 kB / 0.6135 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.6197, allocations: 139.8 kB / 0.6136 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006304/0.6203, allocations: 269.6 kB / 0.6139 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.6205, allocations: 51.98 kB / 0.6139 GB, free: 4.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009345/0.6214, allocations: 0.74 MB / 0.6146 GB, free: 4.066 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.6214, allocations: 0 / 0.6146 GB, free: 4.066 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002074/0.6235, allocations: 0.7953 MB / 0.6154 GB, free: 3.27 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.006647/0.6301, allocations: 4.277 MB / 0.6196 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.6357, allocations: 4.048 MB / 0.6236 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6358, allocations: 0 / 0.6236 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003986/0.6397, allocations: 3.062 MB / 0.6265 GB, free: 7.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.6411, allocations: 341 kB / 0.6269 GB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/0.6633, allocations: 24.13 MB / 0.6504 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.6645, allocations: 1.596 MB / 0.652 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006638/0.6652, allocations: 151 kB / 0.6521 GB, free: 12.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/0.666, allocations: 0.7766 MB / 0.6529 GB, free: 11.66 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6661, allocations: 7.938 kB / 0.6529 GB, free: 11.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.228/0.894, allocations: 47.77 MB / 0.6995 GB, free: 113.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.8942, allocations: 196.4 kB / 0.6997 GB, free: 113.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.33/4.225, allocations: 0 / 0.6997 GB, free: 113.4 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassSC.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat