Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 175.6 kB / 16.78 MB, free: 5.023 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.317/1.317, allocations: 205 MB / 222.6 MB, free: 9.145 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.000706/0.0007056, allocations: 85.69 kB / 270.5 MB, free: 8.672 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.0645/0.0645, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 8 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06743/0.06785, allocations: 49.99 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001173/0.06906, allocations: 1.156 MB / 442.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002084/0.06929, allocations: 107.7 kB / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.06937, allocations: 0 / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.0694, allocations: 0 / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.06944, allocations: 7.984 kB / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.06964, allocations: 19.92 kB / 443 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.06971, allocations: 23.92 kB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.06979, allocations: 7.938 kB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.211e-05/0.06982, allocations: 8 kB / 443 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.06986, allocations: 11.92 kB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.06988, allocations: 0 / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.06989, allocations: 4 kB / 443 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.06991, allocations: 7.938 kB / 443.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.06994, allocations: 7.938 kB / 443.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.644e-05/0.07, allocations: 31.89 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.07001, allocations: 0 / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07002, allocations: 0 / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.07002, allocations: 0 / 443.1 MB, free: 15 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.0002783/0.07031, allocations: 335.7 kB / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.07035, allocations: 12.03 kB / 443.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.07038, allocations: 12.84 kB / 443.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.07051, allocations: 168.4 kB / 443.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-06/0.07053, allocations: 384 / 443.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.07055, allocations: 12.3 kB / 443.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.07081, allocations: 115.8 kB / 443.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.07082, allocations: 192 / 443.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.07084, allocations: 3.938 kB / 443.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.07085, allocations: 4 kB / 443.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.07092, allocations: 23.92 kB / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.356e-05/0.07101, allocations: 161.6 kB / 443.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.07115, allocations: 62.55 kB / 444 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.07121, allocations: 24.83 kB / 444 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.07123, allocations: 7.969 kB / 444 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.999e-06/0.07125, allocations: 38.56 kB / 444.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.07126, allocations: 0 / 444.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.07144, allocations: 73.61 kB / 444.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.07147, allocations: 55.41 kB / 444.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.07152, allocations: 101.8 kB / 444.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.07153, allocations: 29.7 kB / 444.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.772e-05/0.07155, allocations: 88.14 kB / 444.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.07156, allocations: 0 / 444.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.07159, allocations: 13.72 kB / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.07163, allocations: 318.8 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.07164, allocations: 0 / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.07167, allocations: 31.38 kB / 444.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.0717, allocations: 39.38 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.07171, allocations: 0 / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.147e-05/0.07177, allocations: 57.53 kB / 444.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.07179, allocations: 4 kB / 444.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.0718, allocations: 4 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.07182, allocations: 3.938 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.07187, allocations: 12.12 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.07189, allocations: 3.984 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.07191, allocations: 0 / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.07192, allocations: 7.984 kB / 444.9 MB, free: 12.95 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.906e-05/0.07199, allocations: 118.7 kB / 445 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.072, allocations: 256 / 445 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.07203, allocations: 7.844 kB / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.07204, allocations: 0 / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.07205, allocations: 4 kB / 445 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.07207, allocations: 89.02 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.07208, allocations: 3.984 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.07212, allocations: 8 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-06/0.07213, allocations: 288 / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001186/0.07225, allocations: 144.9 kB / 445.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000119/0.07238, allocations: 238.7 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.107e-05/0.07243, allocations: 19.98 kB / 445.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.103e-05/0.07246, allocations: 87.22 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of Backend: time 3e-07/0.07247, allocations: 0 / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.07273, allocations: 90.33 kB / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of SimCode: time 0.0002431/0.07298, allocations: 0.563 MB / 446.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Templates: time 0.001644/0.07464, allocations: 293 kB / 446.5 MB, free: 11.2 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)