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.007651/0.007651, allocations: 1.362 MB / 17.26 MB, free: 4.566 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.591e-05, allocations: 0 / 24.31 MB, free: 3.094 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006658/0.0007015, allocations: 362.6 kB / 24.66 MB, free: 2.797 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0009486/0.001661, allocations: 0.7496 MB / 25.41 MB, free: 2.051 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002738, allocations: 0.5995 MB / 26.01 MB, free: 1.453 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.002868, allocations: 4 kB / 26.01 MB, free: 1.449 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.00308, allocations: 47.66 kB / 26.06 MB, free: 1.402 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.003653, allocations: 190.4 kB / 26.25 MB, free: 1.219 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.016e-05/0.003757, allocations: 23.98 kB / 26.27 MB, free: 1.195 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.003998, allocations: 215.4 kB / 26.48 MB, free: 0.9844 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.004155, allocations: 74.81 kB / 26.55 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.004255, allocations: 87.5 kB / 26.64 MB, free: 0.8203 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.004387, allocations: 87.36 kB / 26.73 MB, free: 0.7344 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.004423, allocations: 4 kB / 26.73 MB, free: 0.7305 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.004661, allocations: 139.8 kB / 26.87 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.004728, allocations: 43.78 kB / 26.91 MB, free: 0.5508 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.00481, allocations: 71.53 kB / 26.98 MB, free: 492 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.005065, allocations: 215.6 kB / 27.19 MB, free: 276 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005076, allocations: 0 / 27.19 MB, free: 276 kB / 13.93 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005084, allocations: 0 / 27.19 MB, free: 276 kB / 13.93 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005096, allocations: 0 / 27.19 MB, free: 276 kB / 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.0005864/0.00569, allocations: 487.8 kB / 27.66 MB, free: 4.426 MB / 18.61 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.005739, allocations: 12.97 kB / 27.68 MB, free: 4.414 MB / 18.61 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.005819, allocations: 28.59 kB / 27.71 MB, free: 4.387 MB / 18.61 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.006159, allocations: 240 kB / 27.94 MB, free: 4.113 MB / 18.61 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.006203, allocations: 16.92 kB / 27.96 MB, free: 4.098 MB / 18.61 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.006267, allocations: 24.38 kB / 27.98 MB, free: 4.074 MB / 18.61 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.006983, allocations: 352.7 kB / 28.32 MB, free: 3.715 MB / 18.61 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.007009, allocations: 192 / 28.32 MB, free: 3.715 MB / 18.61 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.007051, allocations: 12.31 kB / 28.34 MB, free: 3.707 MB / 18.61 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.007112, allocations: 24.42 kB / 28.36 MB, free: 3.684 MB / 18.61 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.007648, allocations: 229.6 kB / 28.58 MB, free: 3.461 MB / 18.61 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.009103, allocations: 0.9066 MB / 29.49 MB, free: 2.457 MB / 18.61 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.009444, allocations: 138.4 kB / 29.63 MB, free: 2.312 MB / 18.61 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.00966, allocations: 92.8 kB / 29.72 MB, free: 2.219 MB / 18.61 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.0101, allocations: 429.5 kB / 30.14 MB, free: 1.707 MB / 18.61 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.01015, allocations: 38.56 kB / 30.17 MB, free: 1.66 MB / 18.61 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.01016, allocations: 0 / 30.17 MB, free: 1.66 MB / 18.61 MB Notification: Performance of matching and sorting (n=13): time 0.0007615/0.01093, allocations: 311.6 kB / 30.48 MB, free: 1.344 MB / 18.61 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.01103, allocations: 106.8 kB / 30.58 MB, free: 1.215 MB / 18.61 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.0112, allocations: 158.7 kB / 30.74 MB, free: 1.047 MB / 18.61 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01124, allocations: 33.81 kB / 30.77 MB, free: 1.008 MB / 18.61 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01135, allocations: 151.9 kB / 30.92 MB, free: 0.8555 MB / 18.61 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.01142, allocations: 43.39 kB / 30.96 MB, free: 0.8125 MB / 18.61 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.01149, allocations: 29.7 kB / 30.99 MB, free: 0.7773 MB / 18.61 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01162, allocations: 322.8 kB / 31.31 MB, free: 464 kB / 18.61 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.01182, allocations: 76.3 kB / 31.38 MB, free: 388 kB / 18.61 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.01207, allocations: 129.8 kB / 31.51 MB, free: 240 kB / 18.61 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007703/0.01979, allocations: 228.4 kB / 31.73 MB, free: 7.367 MB / 18.61 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.01982, allocations: 3.188 kB / 31.73 MB, free: 7.367 MB / 18.61 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006866/0.02052, allocations: 295.2 kB / 32.02 MB, free: 7.305 MB / 18.61 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.02058, allocations: 37.97 kB / 32.06 MB, free: 7.273 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.0206, allocations: 1.656 kB / 32.06 MB, free: 7.273 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.02062, allocations: 1.469 kB / 32.06 MB, free: 7.273 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.02079, allocations: 30.86 kB / 32.09 MB, free: 7.273 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.02081, allocations: 2.281 kB / 32.09 MB, free: 7.273 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.02095, allocations: 27.25 kB / 32.12 MB, free: 7.273 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.02099, allocations: 11.38 kB / 32.13 MB, free: 7.273 MB / 18.61 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 (P1.feeding,$PRE.P1.fireIn[1],T1.activation.emptied[1],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002264/0.02122, allocations: 197.6 kB / 32.32 MB, free: 7.129 MB / 18.61 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.02129, allocations: 10.28 kB / 32.33 MB, free: 7.129 MB / 18.61 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.022, allocations: 295.8 kB / 32.62 MB, free: 7.059 MB / 18.61 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.02203, allocations: 2.719 kB / 32.63 MB, free: 7.059 MB / 18.61 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.02204, allocations: 0 / 32.63 MB, free: 7.059 MB / 18.61 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.02206, allocations: 8.484 kB / 32.63 MB, free: 7.059 MB / 18.61 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/0.02297, allocations: 0.6171 MB / 33.25 MB, free: 6.727 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.02299, allocations: 3.938 kB / 33.26 MB, free: 6.723 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.02313, allocations: 22.31 kB / 33.28 MB, free: 6.723 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02314, allocations: 0 / 33.28 MB, free: 6.723 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.02317, allocations: 3.688 kB / 33.28 MB, free: 6.723 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02318, allocations: 0 / 33.28 MB, free: 6.723 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02319, allocations: 10.16 kB / 33.29 MB, free: 6.719 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.0239, allocations: 461.8 kB / 33.74 MB, free: 6.559 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.02395, allocations: 88.11 kB / 33.83 MB, free: 6.465 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.024, allocations: 7.188 kB / 33.84 MB, free: 6.465 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.02414, allocations: 25.86 kB / 33.86 MB, free: 6.461 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.02428, allocations: 31.58 kB / 33.89 MB, free: 6.457 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.02431, allocations: 14.72 kB / 33.91 MB, free: 6.457 MB / 18.61 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.02439, allocations: 109.5 kB / 34.01 MB, free: 6.379 MB / 18.61 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0244, allocations: 0 / 34.01 MB, free: 6.379 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.00055/0.02496, allocations: 79.94 kB / 34.09 MB, free: 6.375 MB / 18.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002605/0.02523, allocations: 150.9 kB / 34.24 MB, free: 6.289 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.02572, allocations: 257.8 kB / 34.49 MB, free: 6.113 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02574, allocations: 0 / 34.49 MB, free: 6.113 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.02596, allocations: 162.8 kB / 34.65 MB, free: 5.945 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.02641, allocations: 25.94 kB / 34.67 MB, free: 5.922 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.02739, allocations: 0.5268 MB / 35.2 MB, free: 5.367 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.02764, allocations: 0.7632 MB / 35.96 MB, free: 4.582 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.02776, allocations: 43.34 kB / 36.01 MB, free: 4.539 MB / 18.61 MB Notification: Performance of SimCode: time 2.91e-07/0.02777, allocations: 0 / 36.01 MB, free: 4.539 MB / 18.61 MB Notification: Performance of Templates: time 0.005529/0.0333, allocations: 3.055 MB / 39.06 MB, free: 1.5 MB / 18.61 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)