Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.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) 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 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_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005571/0.005571, allocations: 88.55 kB / 15.91 MB, free: 6.301 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.001049/0.001049, allocations: 199 kB / 16.83 MB, free: 6.234 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.584/1.584, allocations: 205.1 MB / 222.7 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08803/0.08803, allocations: 12.61 MB / 282.6 MB, free: 8.758 MB / 238.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: Modelica_Synchronous 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.00158/0.00158, allocations: 83.89 kB / 342.8 MB, free: 21.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1062, allocations: 49.39 MB / 392.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.002555/0.1088, allocations: 1.558 MB / 393.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.1096, allocations: 0.4919 MB / 394.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.1097, allocations: 7.938 kB / 394.2 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.849e-05/0.1097, allocations: 0 / 394.2 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1099, allocations: 15.86 kB / 394.2 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1102, allocations: 59.89 kB / 394.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.1103, allocations: 51.78 kB / 394.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1104, allocations: 15.98 kB / 394.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.1104, allocations: 19.92 kB / 394.4 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.1105, allocations: 27.8 kB / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1105, allocations: 0 / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.1105, allocations: 4 kB / 394.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.1106, allocations: 15.92 kB / 394.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.1106, allocations: 31.75 kB / 394.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1107, allocations: 60.02 kB / 394.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1107, allocations: 4 kB / 394.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1108, allocations: 0 / 394.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1108, allocations: 0 / 394.5 MB, free: 1.336 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005208/0.1113, allocations: 391.1 kB / 394.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1113, allocations: 8.031 kB / 394.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1114, allocations: 16.75 kB / 394.9 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1116, allocations: 204.6 kB / 395.1 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1116, allocations: 384 / 395.1 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1116, allocations: 16.11 kB / 395.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1119, allocations: 123.5 kB / 395.3 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1119, allocations: 0 / 395.3 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1119, allocations: 7.938 kB / 395.3 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1119, allocations: 7.938 kB / 395.3 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.112, allocations: 11.98 kB / 395.3 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.1124, allocations: 264.9 kB / 395.6 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.1124, allocations: 26.5 kB / 395.6 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.1125, allocations: 12.92 kB / 395.6 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.1125, allocations: 4 kB / 395.6 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.1126, allocations: 51.41 kB / 395.6 MB, free: 28 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1126, allocations: 4 kB / 395.7 MB, free: 24 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.1129, allocations: 69.69 kB / 395.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.1129, allocations: 51.41 kB / 395.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1131, allocations: 154.4 kB / 395.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1131, allocations: 25.7 kB / 395.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.1132, allocations: 96.14 kB / 396 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.1132, allocations: 3.906 kB / 396 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1132, allocations: 25.61 kB / 396.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1133, allocations: 318.8 kB / 396.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.1134, allocations: 12 kB / 396.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.1134, allocations: 21.7 kB / 396.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.1135, allocations: 33.69 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1135, allocations: 0 / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.413e-05/0.1136, allocations: 57.69 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1136, allocations: 4 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1136, allocations: 0 / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1136, allocations: 0 / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.1137, allocations: 7.938 kB / 396.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1137, allocations: 0 / 396.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.1137, allocations: 19.77 kB / 396.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1138, allocations: 4 kB / 396.5 MB, free: 15.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.265e-05/0.1139, allocations: 121.9 kB / 396.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1139, allocations: 7.906 kB / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.1139, allocations: 12.48 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1139, allocations: 3.984 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1139, allocations: 0 / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1139, allocations: 3.938 kB / 396.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.1143, allocations: 322.5 kB / 397 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1143, allocations: 4 kB / 397 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.1143, allocations: 3.938 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1143, allocations: 0 / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1143, allocations: 7.922 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1143, allocations: 4 kB / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1143, allocations: 0 / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1144, allocations: 155.4 kB / 397.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.1145, allocations: 93 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1146, allocations: 8.062 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.1146, allocations: 11.98 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1147, allocations: 3.938 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1147, allocations: 4 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.461e-05/0.1148, allocations: 116 kB / 397.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1148, allocations: 0 / 397.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.115, allocations: 8 kB / 397.4 MB, free: 14.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.368e-05/0.1151, allocations: 95.23 kB / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.002e-05/0.1152, allocations: 28 kB / 397.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1152, allocations: 0 / 397.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.1152, allocations: 15.92 kB / 397.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1155, allocations: 15.94 kB / 397.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.1159, allocations: 188 kB / 397.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1161, allocations: 0.6926 MB / 398.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.905e-05/0.1162, allocations: 11.72 kB / 398.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.1162, allocations: 11.44 kB / 398.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1162, allocations: 0 / 398.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of Templates: time 0.002703/0.1189, allocations: 0.7191 MB / 399.2 MB, free: 12.26 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)