Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.859 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004517, allocations: 10.81 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 47.58 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.001943/0.2234, allocations: 1.491 MB / 328 MB, free: 208 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2249, allocations: 0.8874 MB / 328.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2251, allocations: 2 kB / 328.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.2258, allocations: 155 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.2262, allocations: 109.1 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.2266, allocations: 125.2 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.2269, allocations: 186.7 kB / 329.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.227, allocations: 20.66 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2271, allocations: 68.95 kB / 329.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2273, allocations: 86.34 kB / 329.6 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.2273, allocations: 8.719 kB / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2275, allocations: 38.33 kB / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.2275, allocations: 39.02 kB / 329.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.2276, allocations: 59.53 kB / 329.7 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.2278, allocations: 155.7 kB / 329.9 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2279, allocations: 1.062 kB / 329.9 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2279, allocations: 0 / 329.9 MB, free: 14.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2279, allocations: 0 / 329.9 MB, free: 14.87 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008612/0.2287, allocations: 0.5001 MB / 330.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2288, allocations: 9.062 kB / 330.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.2289, allocations: 21.75 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.2292, allocations: 254.4 kB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2292, allocations: 7.281 kB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2292, allocations: 4.594 kB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.2295, allocations: 122.4 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2295, allocations: 1.781 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.2295, allocations: 3.984 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2295, allocations: 1.531 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.2297, allocations: 51.69 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.2303, allocations: 0.6073 MB / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.2306, allocations: 129.8 kB / 331.6 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2307, allocations: 56.44 kB / 331.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.2307, allocations: 2.906 kB / 331.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.2309, allocations: 116.6 kB / 331.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2309, allocations: 0 / 331.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004318/0.2314, allocations: 179.7 kB / 331.9 MB, free: 12.97 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.2315, allocations: 134.6 kB / 332.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.2318, allocations: 292.5 kB / 332.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2319, allocations: 31.98 kB / 332.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.2319, allocations: 125.6 kB / 332.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.232, allocations: 24.36 kB / 332.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.232, allocations: 4 kB / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2321, allocations: 328.4 kB / 332.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.2322, allocations: 32.97 kB / 332.9 MB, free: 12.1 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.2323, allocations: 84.19 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.903e-05/0.2324, allocations: 42.42 kB / 333 MB, free: 12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2325, allocations: 0 / 333 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000277/0.2327, allocations: 142.9 kB / 333.1 MB, free: 11.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2328, allocations: 5.594 kB / 333.1 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2328, allocations: 5.328 kB / 333.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2328, allocations: 2.344 kB / 333.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.2329, allocations: 12 kB / 333.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2329, allocations: 2.312 kB / 333.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.233, allocations: 23.3 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.233, allocations: 8.328 kB / 333.2 MB, free: 11.89 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.2332, allocations: 159.6 kB / 333.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.2332, allocations: 21.84 kB / 333.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.2333, allocations: 24.95 kB / 333.4 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2333, allocations: 2.062 kB / 333.4 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2333, allocations: 5 kB / 333.4 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2333, allocations: 1.062 kB / 333.4 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2336, allocations: 248.1 kB / 333.7 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2336, allocations: 4.969 kB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.2336, allocations: 4.281 kB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2336, allocations: 1.156 kB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2336, allocations: 6.391 kB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2336, allocations: 1.188 kB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2336, allocations: 5.094 kB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.2339, allocations: 179.8 kB / 333.9 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.234, allocations: 95.89 kB / 333.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.2341, allocations: 10.27 kB / 334 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2342, allocations: 13.42 kB / 334 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.2342, allocations: 14.73 kB / 334 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2343, allocations: 4.594 kB / 334 MB, free: 11.18 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.2345, allocations: 211.6 kB / 334.2 MB, free: 11.05 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2345, allocations: 3.938 kB / 334.2 MB, free: 11.04 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2348, allocations: 35.98 kB / 334.2 MB, free: 11.04 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.2358, allocations: 420.1 kB / 334.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.2361, allocations: 93.36 kB / 334.7 MB, free: 10.63 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2361, allocations: 5.156 kB / 334.7 MB, free: 10.63 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2363, allocations: 50.33 kB / 334.8 MB, free: 10.61 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2366, allocations: 53.7 kB / 334.8 MB, free: 10.58 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.2373, allocations: 373.5 kB / 335.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2376, allocations: 0.7339 MB / 335.9 MB, free: 9.547 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.733e-05/0.2377, allocations: 33.45 kB / 336 MB, free: 9.516 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.2378, allocations: 15.44 kB / 336 MB, free: 9.5 MB / 270.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2378, allocations: 0 / 336 MB, free: 9.5 MB / 270.1 MB Notification: Performance of Templates: time 0.005865/0.2436, allocations: 2.479 MB / 338.5 MB, free: 7.02 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1)