Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009401/0.009401, allocations: 1.374 MB / 16.98 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.372e-05, allocations: 0 / 23.87 MB, free: 3.957 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007964/0.0008323, allocations: 359.5 kB / 24.22 MB, free: 3.652 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test2): time 0.001157/0.002007, allocations: 0.6775 MB / 24.9 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003327, allocations: 0.5487 MB / 25.45 MB, free: 2.422 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.003478, allocations: 0 / 25.45 MB, free: 2.422 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.003688, allocations: 44.47 kB / 25.49 MB, free: 2.379 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.004445, allocations: 176.8 kB / 25.67 MB, free: 2.207 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.004563, allocations: 23.98 kB / 25.69 MB, free: 2.184 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.004867, allocations: 212 kB / 25.9 MB, free: 1.977 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.00507, allocations: 75.73 kB / 25.97 MB, free: 1.902 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005202, allocations: 93.05 kB / 26.06 MB, free: 1.812 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.005359, allocations: 75.45 kB / 26.14 MB, free: 1.738 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.005412, allocations: 11.98 kB / 26.15 MB, free: 1.727 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.005709, allocations: 123.8 kB / 26.27 MB, free: 1.605 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.005792, allocations: 47.77 kB / 26.32 MB, free: 1.559 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.005856, allocations: 53.58 kB / 26.37 MB, free: 1.5 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.006193, allocations: 227.6 kB / 26.59 MB, free: 1.277 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006212, allocations: 0 / 26.59 MB, free: 1.277 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.243e-06/0.006224, allocations: 0 / 26.59 MB, free: 1.277 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006239, allocations: 0 / 26.59 MB, free: 1.277 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006391/0.006889, allocations: 0.4927 MB / 27.08 MB, free: 0.7344 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.006947, allocations: 8.297 kB / 27.09 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.00705, allocations: 24.58 kB / 27.11 MB, free: 0.7031 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.007356, allocations: 239.9 kB / 27.35 MB, free: 440 kB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.007413, allocations: 24.83 kB / 27.37 MB, free: 416 kB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.007493, allocations: 24.34 kB / 27.4 MB, free: 392 kB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.008347, allocations: 367.5 kB / 27.76 MB, free: 12 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.008381, allocations: 8.109 kB / 27.76 MB, free: 4 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.008465, allocations: 16.2 kB / 27.78 MB, free: 4.629 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.302e-05/0.008554, allocations: 20.55 kB / 27.8 MB, free: 4.609 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.009259, allocations: 246.1 kB / 28.04 MB, free: 4.371 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.01125, allocations: 0.8562 MB / 28.9 MB, free: 3.43 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.01183, allocations: 166.6 kB / 29.06 MB, free: 3.258 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.01213, allocations: 92.81 kB / 29.15 MB, free: 3.164 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005297/0.01268, allocations: 429.5 kB / 29.57 MB, free: 2.652 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.01273, allocations: 42.52 kB / 29.61 MB, free: 2.602 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 2.975e-06/0.01275, allocations: 0 / 29.61 MB, free: 2.602 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.00107/0.01383, allocations: 339.1 kB / 29.94 MB, free: 2.258 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.786e-05/0.01395, allocations: 110.8 kB / 30.05 MB, free: 2.125 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.01419, allocations: 162.8 kB / 30.21 MB, free: 1.953 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.01425, allocations: 29.7 kB / 30.24 MB, free: 1.918 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.01441, allocations: 159.9 kB / 30.39 MB, free: 1.754 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.01451, allocations: 47.36 kB / 30.44 MB, free: 1.707 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.01455, allocations: 7.984 kB / 30.45 MB, free: 1.699 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.01471, allocations: 322.8 kB / 30.76 MB, free: 1.375 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.01502, allocations: 92.33 kB / 30.85 MB, free: 1.285 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.0154, allocations: 146.3 kB / 31 MB, free: 1.125 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.01575, allocations: 125.6 kB / 31.12 MB, free: 0.9961 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01577, allocations: 0 / 31.12 MB, free: 0.9961 MB / 18.57 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009124/0.01669, allocations: 335.1 kB / 31.45 MB, free: 0.6562 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.01677, allocations: 41.64 kB / 31.49 MB, free: 0.6094 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.0168, allocations: 4 kB / 31.49 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01683, allocations: 0 / 31.49 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.01708, allocations: 35.92 kB / 31.53 MB, free: 0.5703 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.0171, allocations: 4 kB / 31.53 MB, free: 0.5664 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.01733, allocations: 25.27 kB / 31.55 MB, free: 0.543 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.01739, allocations: 16.06 kB / 31.57 MB, free: 0.5273 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: 8 ($PRE.P1.fireOut[1],P1.emptying,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002939/0.0177, allocations: 196.3 kB / 31.76 MB, free: 328 kB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.01778, allocations: 15.81 kB / 31.78 MB, free: 312 kB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/0.02605, allocations: 349.4 kB / 32.12 MB, free: 7.445 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.0261, allocations: 3.031 kB / 32.12 MB, free: 7.445 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.02611, allocations: 2.656 kB / 32.12 MB, free: 7.445 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.02613, allocations: 5.328 kB / 32.13 MB, free: 7.445 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008991/0.02703, allocations: 0.6512 MB / 32.78 MB, free: 7.121 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02705, allocations: 2.125 kB / 32.78 MB, free: 7.121 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.02717, allocations: 24.64 kB / 32.81 MB, free: 7.121 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.02718, allocations: 4.188 kB / 32.81 MB, free: 7.121 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.02721, allocations: 8.062 kB / 32.82 MB, free: 7.121 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.02721, allocations: 0 / 32.82 MB, free: 7.121 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02722, allocations: 0.5938 kB / 32.82 MB, free: 7.121 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.0278, allocations: 0.4928 MB / 33.31 MB, free: 6.961 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.02783, allocations: 90.59 kB / 33.4 MB, free: 6.867 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.02787, allocations: 7.906 kB / 33.41 MB, free: 6.867 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.02799, allocations: 15.92 kB / 33.42 MB, free: 6.867 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.02809, allocations: 34.14 kB / 33.46 MB, free: 6.867 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.02811, allocations: 6.75 kB / 33.46 MB, free: 6.867 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.02818, allocations: 119.6 kB / 33.58 MB, free: 6.789 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02819, allocations: 0 / 33.58 MB, free: 6.789 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003226/0.02851, allocations: 99.52 kB / 33.68 MB, free: 6.785 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.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.0001815/0.0287, allocations: 150.9 kB / 33.82 MB, free: 6.695 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.02909, allocations: 295.1 kB / 34.11 MB, free: 6.629 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0291, allocations: 0 / 34.11 MB, free: 6.629 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.02928, allocations: 169.1 kB / 34.28 MB, free: 6.559 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.02955, allocations: 27.03 kB / 34.3 MB, free: 6.551 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.03023, allocations: 0.5464 MB / 34.85 MB, free: 6.141 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.0304, allocations: 0.7615 MB / 35.61 MB, free: 5.367 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.03049, allocations: 45.55 kB / 35.66 MB, free: 5.324 MB / 18.57 MB Notification: Performance of SimCode: time 2.61e-07/0.0305, allocations: 3.844 kB / 35.66 MB, free: 5.324 MB / 18.57 MB Notification: Performance of Templates: time 0.003776/0.03428, allocations: 3.327 MB / 38.99 MB, free: 2.039 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)