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.001697/0.001697, allocations: 196.7 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009182/0.0009182, allocations: 90.16 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.956e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4489, allocations: 83.37 MB / 485.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4492, allocations: 75.88 kB / 485.6 MB, free: 6.035 MB / 346.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.1175/0.5667, allocations: 41.72 MB / 0.5149 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5668, allocations: 0 / 0.5149 GB, free: 13.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.5669, allocations: 63.98 kB / 0.515 GB, free: 13.88 MB / 394.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.005169/0.5721, allocations: 2.53 MB / 0.5175 GB, free: 11.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5721, allocations: 8.031 kB / 0.5175 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004274/0.5726, allocations: 354.8 kB / 0.5178 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.573, allocations: 288.5 kB / 0.5181 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5746, allocations: 1.024 MB / 0.5191 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.5747, allocations: 201.1 kB / 0.5193 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.5751, allocations: 259.9 kB / 0.5195 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/0.5795, allocations: 2.568 MB / 0.522 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.5796, allocations: 4.5 kB / 0.522 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.5798, allocations: 108 kB / 0.5221 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.5799, allocations: 68 kB / 0.5222 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/0.5833, allocations: 1.874 MB / 0.524 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.5984, allocations: 9.681 MB / 0.5335 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/0.6044, allocations: 2.773 MB / 0.5362 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.6061, allocations: 1.053 MB / 0.5372 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.6062, allocations: 22 kB / 0.5373 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.608, allocations: 0.9294 MB / 0.5382 GB, free: 5.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 5.35e-06/0.608, allocations: 4 kB / 0.5382 GB, free: 5.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.005464/0.6135, allocations: 2.487 MB / 0.5406 GB, free: 3.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.6136, allocations: 85.39 kB / 0.5407 GB, free: 3.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.6156, allocations: 1.017 MB / 0.5417 GB, free: 1.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.6158, allocations: 65.7 kB / 0.5417 GB, free: 1.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008773/0.6167, allocations: 0.9128 MB / 0.5426 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006901/0.6174, allocations: 0.6933 MB / 0.5433 GB, free: 288 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.6175, allocations: 52 kB / 0.5433 GB, free: 236 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.6178, allocations: 399 kB / 0.5437 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.6191, allocations: 0.6713 MB / 0.5444 GB, free: 15.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.6207, allocations: 1.224 MB / 0.5456 GB, free: 13.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.6221, allocations: 0.771 MB / 0.5463 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.6221, allocations: 4 kB / 0.5463 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.006108/0.6282, allocations: 3.016 MB / 0.5493 GB, free: 9.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.6283, allocations: 12 kB / 0.5493 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.6283, allocations: 16 kB / 0.5493 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/0.6317, allocations: 1.167 MB / 0.5504 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.6327, allocations: 291.5 kB / 0.5507 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02369/0.6564, allocations: 22.27 MB / 0.5725 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.6587, allocations: 333.7 kB / 0.5728 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/0.6592, allocations: 96 kB / 0.5729 GB, free: 84 kB / 442.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.2456/0.9048, allocations: 269.1 kB / 0.5731 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000525/0.9054, allocations: 185.3 kB / 0.5733 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.9059, allocations: 222.7 kB / 0.5735 GB, free: 95.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.9059, allocations: 23.38 kB / 0.5735 GB, free: 95.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.268e-05/0.906, allocations: 19.23 kB / 0.5736 GB, free: 95.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.906, allocations: 11.67 kB / 0.5736 GB, free: 95.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.909, allocations: 2.085 MB / 0.5756 GB, free: 95.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.909, allocations: 2.219 kB / 0.5756 GB, free: 95.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.9097, allocations: 145 kB / 0.5758 GB, free: 95.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002746/0.9125, allocations: 1.149 MB / 0.5769 GB, free: 95.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.9126, allocations: 47.25 kB / 0.5769 GB, free: 95.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/0.9295, allocations: 22.25 MB / 0.5986 GB, free: 80.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9295, allocations: 0 / 0.5986 GB, free: 80.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005702/0.9353, allocations: 3.566 MB / 0.6021 GB, free: 80.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/0.9361, allocations: 467.6 kB / 0.6026 GB, free: 79.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.9363, allocations: 47.75 kB / 0.6026 GB, free: 79.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009504/0.9373, allocations: 126.6 kB / 0.6027 GB, free: 79.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007997/0.9381, allocations: 279.3 kB / 0.603 GB, free: 79.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.9382, allocations: 56.83 kB / 0.6031 GB, free: 79.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.9392, allocations: 0.7203 MB / 0.6038 GB, free: 79.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9392, allocations: 0 / 0.6038 GB, free: 79.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002558/0.9418, allocations: 0.7958 MB / 0.6045 GB, free: 79.78 MB / 442.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.005545/0.9473, allocations: 4.194 MB / 0.6086 GB, free: 78.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004917/0.9523, allocations: 3.948 MB / 0.6125 GB, free: 77.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9523, allocations: 0 / 0.6125 GB, free: 77.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003393/0.9557, allocations: 2.982 MB / 0.6154 GB, free: 75.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.9572, allocations: 337.6 kB / 0.6157 GB, free: 75.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.9642, allocations: 4.247 MB / 0.6199 GB, free: 73.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.9655, allocations: 1.589 MB / 0.6214 GB, free: 72.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006799/0.9662, allocations: 153.6 kB / 0.6216 GB, free: 72.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/0.9669, allocations: 0.7748 MB / 0.6223 GB, free: 72.28 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.9669, allocations: 0 / 0.6223 GB, free: 72.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09383/1.061, allocations: 47.96 MB / 0.6692 GB, free: 61.08 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/1.061, allocations: 178.1 kB / 0.6693 GB, free: 60.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/4.583, allocations: 0 / 0.6693 GB, free: 60.86 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