Running command: translateModel(ConPNlib.Examples.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") Notification: Performance of loadModel(ConPNlib): time 0.03944/0.03944, allocations: 1.387 MB / 15.9 MB, free: 5.977 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.361e-05/1.359e-05, allocations: 0 / 19.95 MB, free: 2.242 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000685/0.0007193, allocations: 362.8 kB / 20.3 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.002087/0.002819, allocations: 1.776 MB / 22.08 MB, free: 108 kB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.01455, allocations: 0.8425 MB / 22.92 MB, free: 3.57 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.01493, allocations: 10.34 kB / 22.93 MB, free: 3.566 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.01533, allocations: 170.7 kB / 23.1 MB, free: 3.492 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.01637, allocations: 360 kB / 23.45 MB, free: 3.367 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.0166, allocations: 74.27 kB / 23.52 MB, free: 3.348 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.000463/0.01707, allocations: 320.9 kB / 23.83 MB, free: 3.242 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.0175, allocations: 247.1 kB / 24.08 MB, free: 3.062 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.01772, allocations: 208.4 kB / 24.28 MB, free: 2.871 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.01799, allocations: 257.6 kB / 24.53 MB, free: 2.633 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.01838, allocations: 191.5 kB / 24.72 MB, free: 2.449 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01851, allocations: 40 kB / 24.76 MB, free: 2.41 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.01868, allocations: 160.3 kB / 24.91 MB, free: 2.266 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.01879, allocations: 40 kB / 24.95 MB, free: 2.227 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.01964, allocations: 0.7472 MB / 25.7 MB, free: 1.492 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01966, allocations: 0 / 25.7 MB, free: 1.492 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.954e-06/0.01967, allocations: 0 / 25.7 MB, free: 1.492 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.01969, allocations: 0 / 25.7 MB, free: 1.492 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001234/0.02093, allocations: 0.9867 MB / 26.69 MB, free: 452 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.02098, allocations: 12.31 kB / 26.7 MB, free: 440 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.02121, allocations: 115.5 kB / 26.81 MB, free: 324 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/0.02211, allocations: 496.5 kB / 27.3 MB, free: 4.434 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.02224, allocations: 90.59 kB / 27.38 MB, free: 4.344 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.02249, allocations: 118.1 kB / 27.5 MB, free: 4.23 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.02614, allocations: 1.575 MB / 29.07 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.0262, allocations: 176 / 29.07 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.02635, allocations: 52.33 kB / 29.13 MB, free: 2.543 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.0266, allocations: 106.1 kB / 29.23 MB, free: 2.438 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.02957, allocations: 1.121 MB / 30.35 MB, free: 1.309 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.04619, allocations: 3.469 MB / 33.82 MB, free: 5.762 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.04769, allocations: 0.6625 MB / 34.48 MB, free: 5.387 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/0.04819, allocations: 0.6073 MB / 35.09 MB, free: 4.699 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.04823, allocations: 41.38 kB / 35.13 MB, free: 4.656 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 3.908e-06/0.04824, allocations: 0 / 35.13 MB, free: 4.656 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.002453/0.0507, allocations: 1.281 MB / 36.41 MB, free: 3.641 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.05082, allocations: 267 kB / 36.67 MB, free: 3.324 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.0513, allocations: 377.4 kB / 37.04 MB, free: 2.953 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.05138, allocations: 49.69 kB / 37.09 MB, free: 2.898 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.05168, allocations: 446.6 kB / 37.52 MB, free: 2.465 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.05184, allocations: 169.6 kB / 37.69 MB, free: 2.305 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.05191, allocations: 20 kB / 37.71 MB, free: 2.285 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.05201, allocations: 362.7 kB / 38.06 MB, free: 1.922 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/0.05289, allocations: 377.8 kB / 38.43 MB, free: 1.555 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.0539, allocations: 0.5828 MB / 39.02 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009265/0.05484, allocations: 469 kB / 39.47 MB, free: 424 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.05486, allocations: 0 / 39.47 MB, free: 424 kB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01434/0.06921, allocations: 1.05 MB / 40.52 MB, free: 6.289 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.521e-05/0.06935, allocations: 91.53 kB / 40.61 MB, free: 6.227 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.06937, allocations: 3.531 kB / 40.62 MB, free: 6.227 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.06941, allocations: 11.06 kB / 40.63 MB, free: 6.227 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.07007, allocations: 126.7 kB / 40.75 MB, free: 6.227 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.0701, allocations: 9.031 kB / 40.76 MB, free: 6.227 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.07067, allocations: 123.6 kB / 40.88 MB, free: 6.227 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.07079, allocations: 43.2 kB / 40.92 MB, free: 6.227 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.arcType[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 2 * 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.0006816/0.07148, allocations: 450.3 kB / 41.36 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.07161, allocations: 51.31 kB / 41.41 MB, free: 6.043 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.07361, allocations: 0.882 MB / 42.29 MB, free: 5.582 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-05/0.07367, allocations: 8 kB / 42.3 MB, free: 5.574 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.07368, allocations: 0 / 42.3 MB, free: 5.574 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.0737, allocations: 5.109 kB / 42.31 MB, free: 5.574 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.07663, allocations: 1.694 MB / 44 MB, free: 3.871 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.07666, allocations: 4 kB / 44.01 MB, free: 3.867 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.07717, allocations: 79.52 kB / 44.08 MB, free: 3.793 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.07719, allocations: 0 / 44.08 MB, free: 3.793 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.07726, allocations: 23.98 kB / 44.11 MB, free: 3.77 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.07727, allocations: 0 / 44.11 MB, free: 3.77 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.07728, allocations: 4 kB / 44.11 MB, free: 3.766 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.08001, allocations: 1.34 MB / 45.45 MB, free: 2.422 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.0801, allocations: 132.7 kB / 45.58 MB, free: 2.293 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.08025, allocations: 23.98 kB / 45.6 MB, free: 2.27 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.08071, allocations: 55.97 kB / 45.66 MB, free: 2.215 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/0.08105, allocations: 136.3 kB / 45.79 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.08114, allocations: 31.66 kB / 45.82 MB, free: 2.055 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002931/0.08144, allocations: 255.2 kB / 46.07 MB, free: 1.805 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.71e-07/0.08145, allocations: 0 / 46.07 MB, free: 1.805 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008433/0.0823, allocations: 283 kB / 46.35 MB, free: 1.535 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 17 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 4 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0004006/0.08272, allocations: 211.1 kB / 46.55 MB, free: 1.344 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.01344/0.09617, allocations: 1.128 MB / 47.68 MB, free: 6.309 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.09621, allocations: 0 / 47.68 MB, free: 6.309 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.0973, allocations: 0.6114 MB / 48.29 MB, free: 6.18 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.09779, allocations: 66.72 kB / 48.36 MB, free: 6.18 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.1014, allocations: 2.081 MB / 50.44 MB, free: 4.879 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.102, allocations: 1.129 MB / 51.57 MB, free: 3.762 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0007954/0.1028, allocations: 255.8 kB / 51.82 MB, free: 3.52 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.1031, allocations: 83.31 kB / 51.9 MB, free: 3.438 MB / 18.57 MB Notification: Performance of SimCode: time 1.032e-06/0.1031, allocations: 0 / 51.9 MB, free: 3.438 MB / 18.57 MB Error: Internal error Expression.listToArray2: Number of elements in the list does not match the dimension size. Error: Template error: A template call failed (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).