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.005388/0.005388, allocations: 1.368 MB / 17.31 MB, free: 4.375 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.175e-05/1.177e-05, allocations: 0 / 24.32 MB, free: 2.898 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004683/0.0004956, allocations: 359.6 kB / 24.68 MB, free: 2.578 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003598/0.004102, allocations: 4.111 MB / 28.79 MB, free: 3.105 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.655e-05/0.004206, allocations: 55.86 kB / 28.84 MB, free: 3.055 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.02382, allocations: 5.212 MB / 34.05 MB, free: 5.848 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.605e-06/0.02387, allocations: 0 / 34.05 MB, free: 5.848 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.0239, allocations: 5 kB / 34.06 MB, free: 5.848 MB / 18.57 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.0006851/0.0246, allocations: 0.5122 MB / 34.57 MB, free: 5.391 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.02464, allocations: 9.531 kB / 34.58 MB, free: 5.391 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.02473, allocations: 30.81 kB / 34.61 MB, free: 5.379 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.02502, allocations: 246.8 kB / 34.85 MB, free: 5.176 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.02506, allocations: 21.45 kB / 34.87 MB, free: 5.172 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.02511, allocations: 22.38 kB / 34.89 MB, free: 5.172 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.02562, allocations: 339.8 kB / 35.23 MB, free: 5.109 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.02565, allocations: 4.188 kB / 35.23 MB, free: 5.105 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.02568, allocations: 13.66 kB / 35.24 MB, free: 5.102 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.02572, allocations: 12.7 kB / 35.25 MB, free: 5.102 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.02609, allocations: 212.5 kB / 35.46 MB, free: 5.102 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.02732, allocations: 0.7331 MB / 36.2 MB, free: 4.707 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.02758, allocations: 139.6 kB / 36.33 MB, free: 4.676 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.02772, allocations: 87.36 kB / 36.42 MB, free: 4.613 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.02806, allocations: 431.5 kB / 36.84 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.0281, allocations: 38.56 kB / 36.88 MB, free: 4.055 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.02811, allocations: 0 / 36.88 MB, free: 4.055 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0005585/0.02867, allocations: 292.8 kB / 37.16 MB, free: 3.785 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.02873, allocations: 114.8 kB / 37.27 MB, free: 3.648 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.02886, allocations: 162.7 kB / 37.43 MB, free: 3.477 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.02889, allocations: 29.7 kB / 37.46 MB, free: 3.441 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.02897, allocations: 148.4 kB / 37.61 MB, free: 3.297 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.02902, allocations: 45.25 kB / 37.65 MB, free: 3.254 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.02903, allocations: 9.312 kB / 37.66 MB, free: 3.246 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.02911, allocations: 318.8 kB / 37.97 MB, free: 2.926 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.02925, allocations: 72.12 kB / 38.04 MB, free: 2.855 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.02941, allocations: 139.1 kB / 38.18 MB, free: 2.695 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.02968, allocations: 242.4 kB / 38.41 MB, free: 2.426 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.0297, allocations: 0 / 38.41 MB, free: 2.426 MB / 18.57 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004147/0.03012, allocations: 294.4 kB / 38.7 MB, free: 2.129 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.03018, allocations: 41.69 kB / 38.74 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.0302, allocations: 4.188 kB / 38.75 MB, free: 2.078 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.03022, allocations: 4 kB / 38.75 MB, free: 2.074 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.03036, allocations: 23.98 kB / 38.77 MB, free: 2.051 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.03037, allocations: 7.938 kB / 38.78 MB, free: 2.043 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.03048, allocations: 27.83 kB / 38.81 MB, free: 2.016 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.03052, allocations: 8 kB / 38.82 MB, free: 2.008 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,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 (20): * Single equations (assignments): 18 * 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.0001847/0.03071, allocations: 204.2 kB / 39.02 MB, free: 1.797 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.03076, allocations: 11.91 kB / 39.03 MB, free: 1.785 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.03126, allocations: 328.8 kB / 39.35 MB, free: 1.457 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.03128, allocations: 0 / 39.35 MB, free: 1.457 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.03129, allocations: 4 kB / 39.35 MB, free: 1.453 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.0313, allocations: 3.984 kB / 39.36 MB, free: 1.449 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.03193, allocations: 0.5944 MB / 39.95 MB, free: 0.7969 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.03195, allocations: 4 kB / 39.96 MB, free: 0.793 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.03204, allocations: 23.92 kB / 39.98 MB, free: 0.7695 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.03205, allocations: 0 / 39.98 MB, free: 0.7695 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.03208, allocations: 11.98 kB / 39.99 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.03208, allocations: 2.062 kB / 39.99 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.03209, allocations: 0 / 39.99 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.03263, allocations: 452.7 kB / 40.43 MB, free: 300 kB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.03268, allocations: 93.03 kB / 40.53 MB, free: 188 kB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.03272, allocations: 4 kB / 40.53 MB, free: 184 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.03282, allocations: 12 kB / 40.54 MB, free: 172 kB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.03292, allocations: 39.83 kB / 40.58 MB, free: 132 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.03296, allocations: 11.98 kB / 40.59 MB, free: 120 kB / 18.57 MB Notification: Performance of sorting global known variables: time 6.435e-05/0.03303, allocations: 119.4 kB / 40.71 MB, free: 0 / 18.57 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03303, allocations: 0 / 40.71 MB, free: 0 / 18.57 MB Notification: Performance of remove unused functions: time 0.008344/0.04138, allocations: 89.11 kB / 40.8 MB, free: 4.512 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 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * 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.0002714/0.04167, allocations: 163 kB / 40.95 MB, free: 4.422 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.04213, allocations: 259.7 kB / 41.21 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.04215, allocations: 1.312 kB / 41.21 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.04232, allocations: 160.7 kB / 41.37 MB, free: 4.297 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.04262, allocations: 21.86 kB / 41.39 MB, free: 4.297 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.0433, allocations: 481.7 kB / 41.86 MB, free: 4.047 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.04349, allocations: 0.7612 MB / 42.62 MB, free: 3.352 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.04362, allocations: 68.06 kB / 42.69 MB, free: 3.352 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.04369, allocations: 26.72 kB / 42.71 MB, free: 3.344 MB / 18.57 MB Notification: Performance of SimCode: time 2.41e-07/0.0437, allocations: 3.906 kB / 42.72 MB, free: 3.344 MB / 18.57 MB Notification: Performance of Templates: time 0.004498/0.0482, allocations: 2.321 MB / 45.04 MB, free: 2.801 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)