Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 176.4 kB / 16.77 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205 MB / 222.6 MB, free: 9.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006708/0.0006708, allocations: 85.11 kB / 270.5 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1053/0.1053, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 15.98 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07121/0.07158, allocations: 49.97 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00138/0.07299, allocations: 1.152 MB / 442.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002478/0.07327, allocations: 99.73 kB / 442.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.07335, allocations: 4 kB / 442.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.07339, allocations: 3.938 kB / 443 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.07344, allocations: 3.984 kB / 443 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.07366, allocations: 31.91 kB / 443 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.07373, allocations: 12 kB / 443 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/0.07382, allocations: 15.97 kB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.07385, allocations: 7.938 kB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.446e-05/0.07388, allocations: 11.94 kB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.07391, allocations: 0 / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.07393, allocations: 3.938 kB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.07394, allocations: 0 / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.07398, allocations: 15.86 kB / 443.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.148e-05/0.07405, allocations: 28.19 kB / 443.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.07406, allocations: 0 / 443.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07407, allocations: 0 / 443.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.07407, allocations: 0 / 443.1 MB, free: 15.01 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002943/0.07437, allocations: 335.4 kB / 443.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.07442, allocations: 8.031 kB / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.07446, allocations: 8.844 kB / 443.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.07461, allocations: 168.4 kB / 443.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.07463, allocations: 4.375 kB / 443.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.07465, allocations: 8.375 kB / 443.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.07489, allocations: 99.88 kB / 443.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.07491, allocations: 4.125 kB / 443.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.07492, allocations: 3.938 kB / 443.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.07493, allocations: 0 / 443.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.075, allocations: 23.92 kB / 443.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.034e-05/0.07509, allocations: 157.6 kB / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.07521, allocations: 50.59 kB / 443.9 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.07526, allocations: 20.89 kB / 444 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.07529, allocations: 0 / 444 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.07531, allocations: 42.56 kB / 444 MB, free: 13.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.07532, allocations: 0 / 444 MB, free: 13.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001699/0.07549, allocations: 77.45 kB / 444.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.07552, allocations: 51.41 kB / 444.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.07558, allocations: 97.86 kB / 444.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.07559, allocations: 33.7 kB / 444.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.07562, allocations: 88.12 kB / 444.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.07563, allocations: 0 / 444.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.07565, allocations: 13.72 kB / 444.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.0757, allocations: 314.8 kB / 444.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.07572, allocations: 0 / 444.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.07575, allocations: 35.36 kB / 444.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.07578, allocations: 39.38 kB / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.07579, allocations: 0 / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.674e-05/0.07586, allocations: 57.56 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.07588, allocations: 4.625 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.07589, allocations: 4 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.07591, allocations: 8.062 kB / 444.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.07595, allocations: 4 kB / 444.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.07597, allocations: 0 / 444.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.07599, allocations: 288 / 444.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.076, allocations: 4 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.07605, allocations: 114.7 kB / 444.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.07607, allocations: 3.906 kB / 444.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.07609, allocations: 15.41 kB / 444.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.0761, allocations: 0 / 444.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.07611, allocations: 4 kB / 444.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.07613, allocations: 81.11 kB / 445 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.07615, allocations: 0 / 445 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.07617, allocations: 4 kB / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.07618, allocations: 0 / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.921e-05/0.07629, allocations: 136.9 kB / 445.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001077/0.07641, allocations: 234.7 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.345e-05/0.07645, allocations: 15.98 kB / 445.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.862e-05/0.07648, allocations: 87.22 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of Backend: time 2.91e-07/0.07648, allocations: 0 / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.07676, allocations: 82.33 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of SimCode: time 0.000274/0.07704, allocations: 0.5671 MB / 446.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Templates: time 0.001741/0.0788, allocations: 285.2 kB / 446.4 MB, free: 11.3 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1)