Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01312/0.01312, allocations: 1.364 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.201e-05, allocations: 0 / 23.23 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007244/0.0007624, allocations: 359.6 kB / 23.58 MB, free: 3.875 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0009439/0.001721, allocations: 0.6814 MB / 24.27 MB, free: 3.383 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002792, allocations: 0.5493 MB / 24.82 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.003004, allocations: 0.7188 kB / 24.82 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.003196, allocations: 43.66 kB / 24.86 MB, free: 2.789 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.003867, allocations: 174.4 kB / 25.03 MB, free: 2.621 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.824e-05/0.003981, allocations: 23.97 kB / 25.05 MB, free: 2.598 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.004263, allocations: 207.4 kB / 25.26 MB, free: 2.395 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.00444, allocations: 71.94 kB / 25.33 MB, free: 2.316 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.004569, allocations: 83.56 kB / 25.41 MB, free: 2.234 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.004704, allocations: 71.5 kB / 25.48 MB, free: 2.164 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.004744, allocations: 8 kB / 25.48 MB, free: 2.156 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.005, allocations: 135.8 kB / 25.62 MB, free: 2.023 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.005062, allocations: 31.84 kB / 25.65 MB, free: 1.992 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.005111, allocations: 49.58 kB / 25.7 MB, free: 1.938 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.005379, allocations: 219.6 kB / 25.91 MB, free: 1.723 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005393, allocations: 0 / 25.91 MB, free: 1.723 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005403, allocations: 4 kB / 25.92 MB, free: 1.719 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.005415, allocations: 0 / 25.92 MB, free: 1.719 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005596/0.005981, allocations: 480.6 kB / 26.38 MB, free: 1.199 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.006026, allocations: 8.297 kB / 26.39 MB, free: 1.191 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.006099, allocations: 24.58 kB / 26.42 MB, free: 1.168 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.006346, allocations: 237.1 kB / 26.65 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.006388, allocations: 20.91 kB / 26.67 MB, free: 0.8789 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.006448, allocations: 28.23 kB / 26.7 MB, free: 0.8516 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.007095, allocations: 346 kB / 27.03 MB, free: 0.5 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.00712, allocations: 176 / 27.03 MB, free: 0.5 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.007164, allocations: 20.11 kB / 27.05 MB, free: 492 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.007219, allocations: 16.42 kB / 27.07 MB, free: 476 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.007696, allocations: 229.5 kB / 27.29 MB, free: 248 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.009159, allocations: 0.9105 MB / 28.2 MB, free: 3.879 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.009536, allocations: 145.6 kB / 28.35 MB, free: 3.73 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.009759, allocations: 89.31 kB / 28.43 MB, free: 3.641 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/0.0102, allocations: 437.5 kB / 28.86 MB, free: 3.121 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.01025, allocations: 30.56 kB / 28.89 MB, free: 3.082 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.01026, allocations: 3 kB / 28.89 MB, free: 3.082 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0008618/0.01113, allocations: 307.2 kB / 29.19 MB, free: 2.77 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.01123, allocations: 110.8 kB / 29.3 MB, free: 2.637 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.01142, allocations: 158.2 kB / 29.46 MB, free: 2.469 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.01147, allocations: 29.7 kB / 29.49 MB, free: 2.434 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01159, allocations: 144.1 kB / 29.63 MB, free: 2.289 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.01165, allocations: 47.38 kB / 29.67 MB, free: 2.242 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.01168, allocations: 7.938 kB / 29.68 MB, free: 2.234 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01182, allocations: 322.8 kB / 30 MB, free: 1.91 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.01204, allocations: 79.94 kB / 30.07 MB, free: 1.832 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.01229, allocations: 121.1 kB / 30.19 MB, free: 1.695 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.01253, allocations: 109.7 kB / 30.3 MB, free: 1.582 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.01255, allocations: 7.984 kB / 30.31 MB, free: 1.574 MB / 18.57 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006561/0.01321, allocations: 295.6 kB / 30.6 MB, free: 1.273 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.01327, allocations: 41.69 kB / 30.64 MB, free: 1.227 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01329, allocations: 1.5 kB / 30.64 MB, free: 1.227 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01331, allocations: 4 kB / 30.64 MB, free: 1.223 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.01349, allocations: 23.98 kB / 30.67 MB, free: 1.199 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.01351, allocations: 4.922 kB / 30.67 MB, free: 1.195 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.01366, allocations: 27.89 kB / 30.7 MB, free: 1.168 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.0137, allocations: 8 kB / 30.71 MB, free: 1.16 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.P1.fireIn[1],P1.feeding,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 1 * 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.0002604/0.01397, allocations: 200.2 kB / 30.9 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.01404, allocations: 11.86 kB / 30.91 MB, free: 0.9375 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.01487, allocations: 327.8 kB / 31.23 MB, free: 0.5938 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.0149, allocations: 4 kB / 31.24 MB, free: 0.5898 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01492, allocations: 8 kB / 31.24 MB, free: 0.582 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01493, allocations: 0 / 31.24 MB, free: 0.582 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.02559, allocations: 0.6056 MB / 31.85 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.02563, allocations: 0 / 31.85 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.02578, allocations: 26.09 kB / 31.88 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.0258, allocations: 0 / 31.88 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.02583, allocations: 5.828 kB / 31.88 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.02584, allocations: 1.219 kB / 31.88 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02585, allocations: 0.75 kB / 31.88 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.02664, allocations: 470.1 kB / 32.34 MB, free: 7.516 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.0267, allocations: 86.73 kB / 32.43 MB, free: 7.422 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.02675, allocations: 6.031 kB / 32.43 MB, free: 7.422 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.02692, allocations: 12.64 kB / 32.44 MB, free: 7.422 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.02706, allocations: 38.27 kB / 32.48 MB, free: 7.422 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.02709, allocations: 7.688 kB / 32.49 MB, free: 7.422 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.02719, allocations: 111.6 kB / 32.6 MB, free: 7.348 MB / 18.57 MB Notification: Performance of sort global known variables: time 7.12e-07/0.0272, allocations: 0 / 32.6 MB, free: 7.348 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005663/0.02777, allocations: 90.55 kB / 32.69 MB, free: 7.344 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P1.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 1 * 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.0002378/0.02802, allocations: 151.7 kB / 32.84 MB, free: 7.254 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.02854, allocations: 262.6 kB / 33.09 MB, free: 7.191 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02856, allocations: 2.812 kB / 33.09 MB, free: 7.191 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.02879, allocations: 164.1 kB / 33.25 MB, free: 7.129 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.02921, allocations: 22.86 kB / 33.28 MB, free: 7.129 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.03014, allocations: 0.4922 MB / 33.77 MB, free: 6.871 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.03035, allocations: 0.7646 MB / 34.53 MB, free: 6.117 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.03055, allocations: 79.48 kB / 34.61 MB, free: 6.074 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.03064, allocations: 38.3 kB / 34.65 MB, free: 6.055 MB / 18.57 MB Notification: Performance of SimCode: time 3.11e-07/0.03065, allocations: 0 / 34.65 MB, free: 6.055 MB / 18.57 MB Notification: Performance of Templates: time 0.006043/0.0367, allocations: 2.341 MB / 36.99 MB, free: 3.77 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)