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.001289/0.001289, allocations: 95.34 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 181.6 kB / 16.61 MB, free: 6.422 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.668/1.668, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.0844/0.08441, allocations: 12.59 MB / 283.6 MB, free: 8.715 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.0008004/0.0008009, allocations: 20 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1145, allocations: 50.39 MB / 394.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.002449/0.1171, allocations: 1.197 MB / 396.1 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.1181, allocations: 468.1 kB / 396.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1182, allocations: 0 / 396.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.1183, allocations: 11.86 kB / 396.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1185, allocations: 15.92 kB / 396.6 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.1188, allocations: 63.88 kB / 396.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.119, allocations: 43.89 kB / 396.7 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1191, allocations: 15.97 kB / 396.7 MB, free: 1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.1192, allocations: 15.92 kB / 396.7 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.1192, allocations: 23.86 kB / 396.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1193, allocations: 3.938 kB / 396.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.1193, allocations: 0 / 396.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.1193, allocations: 19.92 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.1194, allocations: 37.64 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.1195, allocations: 36.2 kB / 396.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1195, allocations: 0 / 396.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1195, allocations: 4 kB / 396.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1195, allocations: 0 / 396.8 MB, free: 0.8555 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.0006214/0.1201, allocations: 386.9 kB / 397.2 MB, free: 440 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1202, allocations: 8.031 kB / 397.2 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.1202, allocations: 11.81 kB / 397.2 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1205, allocations: 195.4 kB / 397.4 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1205, allocations: 8 kB / 397.4 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1205, allocations: 11.94 kB / 397.4 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.1208, allocations: 111.6 kB / 397.5 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1208, allocations: 8 kB / 397.5 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1208, allocations: 0 / 397.5 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1208, allocations: 0 / 397.5 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.1209, allocations: 8 kB / 397.6 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1213, allocations: 268.8 kB / 397.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.1214, allocations: 22.58 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1214, allocations: 8.062 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.1216, allocations: 59.38 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/0.1216, allocations: 0 / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002041/0.1218, allocations: 69.47 kB / 398 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.1219, allocations: 55.41 kB / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.122, allocations: 147 kB / 398.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1221, allocations: 25.7 kB / 398.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.1221, allocations: 100 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.1222, allocations: 7.844 kB / 398.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1222, allocations: 0 / 398.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1223, allocations: 326.8 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.1223, allocations: 8 kB / 398.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.1224, allocations: 21.7 kB / 398.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.1224, allocations: 4 kB / 398.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1224, allocations: 4 kB / 398.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.269e-05/0.1225, allocations: 61.62 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1226, allocations: 4 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1226, allocations: 0 / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1226, allocations: 4 kB / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.1226, allocations: 0 / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1227, allocations: 0 / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.1227, allocations: 11.98 kB / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1227, allocations: 240 / 398.7 MB, free: 14.69 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.1229, allocations: 137.5 kB / 398.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1229, allocations: 15.8 kB / 398.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.123, allocations: 12.23 kB / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.123, allocations: 4 kB / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.123, allocations: 0 / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.123, allocations: 0 / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.1234, allocations: 322.5 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1234, allocations: 0 / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.1234, allocations: 11.94 kB / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1234, allocations: 0 / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1234, allocations: 0 / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1234, allocations: 128 / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1234, allocations: 4 kB / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1236, allocations: 155.4 kB / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.1237, allocations: 89 kB / 399.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1237, allocations: 7.984 kB / 399.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.1238, allocations: 11.94 kB / 399.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1238, allocations: 7.984 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1239, allocations: 4 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.627e-05/0.1239, allocations: 108.6 kB / 399.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.124, allocations: 4 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1242, allocations: 4 kB / 399.6 MB, free: 13.71 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 (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.0001134/0.1243, allocations: 103.2 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.1244, allocations: 27.86 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1244, allocations: 0 / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.1245, allocations: 12 kB / 399.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1247, allocations: 16.5 kB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.1251, allocations: 185.4 kB / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1255, allocations: 0.6926 MB / 400.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.1255, allocations: 7.781 kB / 400.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.1256, allocations: 11.44 kB / 400.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1256, allocations: 0 / 400.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Templates: time 0.003199/0.1288, allocations: 0.6633 MB / 401.3 MB, free: 11.93 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: