Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001147/0.001147, allocations: 93.25 kB / 16.3 MB, free: 6.453 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.001031/0.001031, allocations: 183.6 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.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.0004345/0.0004342, allocations: 12 kB / 280.1 MB, free: 3.773 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09767, allocations: 47.58 MB / 327.7 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002093/0.09981, allocations: 1.482 MB / 329.2 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1011, allocations: 0.8668 MB / 330 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.1012, allocations: 7.938 kB / 330 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.1018, allocations: 143.7 kB / 330.2 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1021, allocations: 103.7 kB / 330.3 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1024, allocations: 123.7 kB / 330.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1026, allocations: 131.7 kB / 330.5 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1028, allocations: 25.55 kB / 330.6 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1029, allocations: 71.69 kB / 330.6 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.103, allocations: 71.73 kB / 330.7 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.103, allocations: 4 kB / 330.7 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1031, allocations: 35.92 kB / 330.7 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.1032, allocations: 47.81 kB / 330.8 MB, free: 1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.1033, allocations: 49.64 kB / 330.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1035, allocations: 163.9 kB / 331 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1035, allocations: 0 / 331 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1035, allocations: 0 / 331 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1035, allocations: 3.938 kB / 331 MB, free: 0.7812 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.0007768/0.1043, allocations: 0.5 MB / 331.5 MB, free: 232 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1043, allocations: 8.031 kB / 331.5 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.1044, allocations: 15.81 kB / 331.5 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1047, allocations: 253.7 kB / 331.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1047, allocations: 8 kB / 331.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1047, allocations: 8 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.105, allocations: 121.9 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.105, allocations: 0 / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.105, allocations: 0 / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1051, allocations: 4 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.1052, allocations: 55.91 kB / 332 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.1059, allocations: 0.6104 MB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.1062, allocations: 127.9 kB / 332.7 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.1062, allocations: 4 kB / 332.7 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.1065, allocations: 122 kB / 332.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1065, allocations: 0 / 332.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004469/0.1069, allocations: 181.3 kB / 333 MB, free: 14.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.107, allocations: 136.5 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1073, allocations: 285.1 kB / 333.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1073, allocations: 29.7 kB / 333.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.1074, allocations: 120.4 kB / 333.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.1075, allocations: 31.64 kB / 333.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.1075, allocations: 4 kB / 333.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1076, allocations: 334.8 kB / 333.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.1077, allocations: 31.98 kB / 333.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1079, allocations: 89.58 kB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.108, allocations: 32 kB / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.108, allocations: 0 / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000259/0.1082, allocations: 153.3 kB / 334.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1083, allocations: 4 kB / 334.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1083, allocations: 0 / 334.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1083, allocations: 4 kB / 334.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.1084, allocations: 12 kB / 334.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1084, allocations: 3.938 kB / 334.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1085, allocations: 19.98 kB / 334.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1086, allocations: 12 kB / 334.3 MB, free: 13.18 MB / 286.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.0001332/0.1087, allocations: 153.6 kB / 334.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1087, allocations: 15.81 kB / 334.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.365e-05/0.1088, allocations: 33.62 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.1088, allocations: 4 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1088, allocations: 0.625 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1088, allocations: 3.984 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1091, allocations: 245.5 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1091, allocations: 4 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.1091, allocations: 15.94 kB / 334.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1091, allocations: 3.984 kB / 334.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1091, allocations: 4 kB / 334.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1092, allocations: 0 / 334.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1092, allocations: 4 kB / 334.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1095, allocations: 198 kB / 334.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.1096, allocations: 104.8 kB / 335 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1096, allocations: 0 / 335 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1097, allocations: 19.98 kB / 335.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.1098, allocations: 15.88 kB / 335.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1098, allocations: 12 kB / 335.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.11, allocations: 212.4 kB / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.11, allocations: 0 / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1103, allocations: 36 kB / 335.3 MB, free: 12.01 MB / 286.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.0009147/0.1112, allocations: 417.2 kB / 335.7 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1115, allocations: 95.95 kB / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1115, allocations: 0 / 335.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1116, allocations: 51.92 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1119, allocations: 40.39 kB / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.1125, allocations: 364 kB / 336.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1129, allocations: 0.74 MB / 337 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.886e-05/0.113, allocations: 21.53 kB / 337 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.113, allocations: 27.44 kB / 337.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1131, allocations: 0 / 337.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of Templates: time 0.005477/0.1185, allocations: 2.467 MB / 339.5 MB, free: 7.75 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) Environment - environmentSimulation: