Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.conf.json Using package Modelica_StateGraph2 with version 2.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002572/0.002577, allocations: 364.9 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 4.847/4.847, allocations: 446.6 MB / 463.2 MB, free: 2.875 MB / 362.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 191.3 kB / 0.5025 GB, free: 15.53 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2433/0.2433, allocations: 27.15 MB / 0.5789 GB, free: 210.1 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000644/0.0006442, allocations: 15.98 kB / 0.6415 GB, free: 147.3 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09396, allocations: 53.71 MB / 0.694 GB, free: 93.49 MB / 458.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence): time 0.002082/0.09609, allocations: 1.376 MB / 0.6953 GB, free: 92.11 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.09778, allocations: 0.7287 MB / 0.6961 GB, free: 91.38 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.09798, allocations: 7.938 kB / 0.6961 GB, free: 91.37 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.09818, allocations: 35.72 kB / 0.6961 GB, free: 91.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.09828, allocations: 23.8 kB / 0.6961 GB, free: 91.31 MB / 458.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.09902, allocations: 162.5 kB / 0.6963 GB, free: 91.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.09941, allocations: 303.2 kB / 0.6966 GB, free: 90.86 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009047/0.1003, allocations: 0.5179 MB / 0.6971 GB, free: 90.31 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1005, allocations: 83.64 kB / 0.6971 GB, free: 90.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1006, allocations: 87.48 kB / 0.6972 GB, free: 90.14 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1006, allocations: 12 kB / 0.6972 GB, free: 90.13 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1007, allocations: 23.98 kB / 0.6973 GB, free: 90.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.1008, allocations: 55.77 kB / 0.6973 GB, free: 90.05 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.1009, allocations: 61.58 kB / 0.6974 GB, free: 89.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1012, allocations: 199.5 kB / 0.6976 GB, free: 89.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1012, allocations: 0 / 0.6976 GB, free: 89.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1012, allocations: 0 / 0.6976 GB, free: 89.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1012, allocations: 0 / 0.6976 GB, free: 89.79 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0006087/0.1019, allocations: 493.2 kB / 0.698 GB, free: 89.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1019, allocations: 8.031 kB / 0.698 GB, free: 89.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.102, allocations: 31.62 kB / 0.6981 GB, free: 89.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1023, allocations: 274.5 kB / 0.6983 GB, free: 88.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.1024, allocations: 20.66 kB / 0.6984 GB, free: 88.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.1025, allocations: 31.95 kB / 0.6984 GB, free: 88.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.1031, allocations: 332.2 kB / 0.6987 GB, free: 88.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1032, allocations: 0 / 0.6987 GB, free: 88.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.1032, allocations: 12 kB / 0.6987 GB, free: 88.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1032, allocations: 8 kB / 0.6987 GB, free: 88.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.1037, allocations: 202.1 kB / 0.6989 GB, free: 88.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1055, allocations: 1.598 MB / 0.7005 GB, free: 86.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1058, allocations: 269 kB / 0.7007 GB, free: 86.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.1059, allocations: 52.84 kB / 0.7008 GB, free: 86.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/0.106, allocations: 85.09 kB / 0.7009 GB, free: 86.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.106, allocations: 38.5 kB / 0.7009 GB, free: 86.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=17): time 3.717e-06/0.106, allocations: 0 / 0.7009 GB, free: 86.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004003/0.1065, allocations: 160.8 kB / 0.7011 GB, free: 85.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1065, allocations: 59.41 kB / 0.7011 GB, free: 85.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1067, allocations: 214.3 kB / 0.7013 GB, free: 85.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1067, allocations: 33.7 kB / 0.7013 GB, free: 85.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1069, allocations: 168.4 kB / 0.7015 GB, free: 85.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1069, allocations: 43.47 kB / 0.7016 GB, free: 85.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.1069, allocations: 8 kB / 0.7016 GB, free: 85.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.107, allocations: 326.8 kB / 0.7019 GB, free: 84.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1071, allocations: 51.97 kB / 0.7019 GB, free: 84.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.1073, allocations: 146.1 kB / 0.7021 GB, free: 84.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1075, allocations: 63.94 kB / 0.7021 GB, free: 84.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1075, allocations: 0 / 0.7021 GB, free: 84.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004616/0.108, allocations: 241.4 kB / 0.7024 GB, free: 84.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.108, allocations: 12 kB / 0.7024 GB, free: 84.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.108, allocations: 0 / 0.7024 GB, free: 84.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.108, allocations: 8 kB / 0.7024 GB, free: 84.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1082, allocations: 19.92 kB / 0.7024 GB, free: 84.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1082, allocations: 4 kB / 0.7024 GB, free: 84.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.1083, allocations: 19.84 kB / 0.7024 GB, free: 84.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.1084, allocations: 12 kB / 0.7024 GB, free: 84.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.step1.oldActive,step1.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,step1.connectorNode.node.suspend,step1.connectorNode.node.resume,step1.active,$PRE.step1.newActive,step1.newActive,step1.outport_fire,T1.condition,T1.enableFire,step2.active,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.condition,T2.enableFire,step3.active,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step1.inport_fire,step3.outport_fire,step3.inPort[1].checkUnaryConnection,step1.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002202/0.1086, allocations: 188.4 kB / 0.7026 GB, free: 84.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.1087, allocations: 19.8 kB / 0.7026 GB, free: 84.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.109, allocations: 139.4 kB / 0.7028 GB, free: 84.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.109, allocations: 0 / 0.7028 GB, free: 84.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.109, allocations: 0 / 0.7028 GB, free: 84.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.1091, allocations: 96.91 kB / 0.7028 GB, free: 83.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1091, allocations: 11.95 kB / 0.7029 GB, free: 83.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.1092, allocations: 0 / 0.7029 GB, free: 83.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.1093, allocations: 23.97 kB / 0.7029 GB, free: 83.87 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002592/0.1096, allocations: 204.8 kB / 0.7031 GB, free: 83.66 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002652/0.1099, allocations: 306.1 kB / 0.7034 GB, free: 83.35 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.989e-05/0.11, allocations: 39.98 kB / 0.7034 GB, free: 83.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1101, allocations: 134 kB / 0.7035 GB, free: 83.18 MB / 458.7 MB Notification: Performance of Backend: time 1.573e-06/0.1101, allocations: 4 kB / 0.7035 GB, free: 83.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.1108, allocations: 197.8 kB / 0.7037 GB, free: 82.98 MB / 458.7 MB Notification: Performance of SimCode: time 0.0009069/0.1117, allocations: 0.8722 MB / 0.7046 GB, free: 82.07 MB / 458.7 MB Notification: Performance of Templates: time 0.006686/0.1184, allocations: 1.591 MB / 0.7061 GB, free: 80.48 MB / 458.7 MB