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.006222/0.006222, allocations: 1.37 MB / 16.62 MB, free: 5.098 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.266e-05, allocations: 0 / 23.66 MB, free: 3.77 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006757/0.0007111, allocations: 358.5 kB / 24.01 MB, free: 3.461 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test2): time 0.0009358/0.001659, allocations: 0.7492 MB / 24.76 MB, free: 2.715 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002791, allocations: 0.6109 MB / 25.37 MB, free: 2.102 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.003003, allocations: 0 / 25.37 MB, free: 2.102 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.003232, allocations: 48.28 kB / 25.42 MB, free: 2.055 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007473/0.00399, allocations: 185 kB / 25.6 MB, free: 1.875 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.004112, allocations: 23.98 kB / 25.62 MB, free: 1.852 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.004393, allocations: 217.5 kB / 25.83 MB, free: 1.641 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.00456, allocations: 82.77 kB / 25.91 MB, free: 1.555 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.004696, allocations: 91.48 kB / 26 MB, free: 1.465 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.004862, allocations: 87.36 kB / 26.09 MB, free: 1.379 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.004896, allocations: 8 kB / 26.1 MB, free: 1.371 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.005127, allocations: 135.8 kB / 26.23 MB, free: 1.238 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.005206, allocations: 47.77 kB / 26.28 MB, free: 1.191 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.005298, allocations: 79.47 kB / 26.35 MB, free: 1.113 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.005672, allocations: 303.1 kB / 26.65 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.005683, allocations: 0 / 26.65 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.232e-06/0.00569, allocations: 0 / 26.65 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.005705, allocations: 0 / 26.65 MB, free: 0.8164 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.0005942/0.006305, allocations: 0.4888 MB / 27.14 MB, free: 280 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.00635, allocations: 8.969 kB / 27.15 MB, free: 272 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.006441, allocations: 32.66 kB / 27.18 MB, free: 240 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.006713, allocations: 240.1 kB / 27.41 MB, free: 4.602 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.006761, allocations: 16.94 kB / 27.43 MB, free: 4.586 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.00682, allocations: 36.22 kB / 27.47 MB, free: 4.555 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.007475, allocations: 368.1 kB / 27.83 MB, free: 4.18 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.007501, allocations: 192 / 27.83 MB, free: 4.18 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.00754, allocations: 17.7 kB / 27.84 MB, free: 4.164 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.007594, allocations: 24.55 kB / 27.87 MB, free: 4.141 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.00803, allocations: 246 kB / 28.11 MB, free: 3.902 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.009356, allocations: 0.8619 MB / 28.97 MB, free: 2.953 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.009692, allocations: 158.5 kB / 29.12 MB, free: 2.789 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.009855, allocations: 96.84 kB / 29.22 MB, free: 2.691 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.01021, allocations: 437.5 kB / 29.65 MB, free: 2.172 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.01025, allocations: 30.56 kB / 29.68 MB, free: 2.133 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.01026, allocations: 0 / 29.68 MB, free: 2.133 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0006359/0.0109, allocations: 335.7 kB / 30 MB, free: 1.793 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.01099, allocations: 118.8 kB / 30.12 MB, free: 1.652 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01114, allocations: 166.2 kB / 30.28 MB, free: 1.477 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.01117, allocations: 29.7 kB / 30.31 MB, free: 1.441 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01128, allocations: 160 kB / 30.47 MB, free: 1.277 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.01134, allocations: 47.36 kB / 30.51 MB, free: 1.23 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.01139, allocations: 29.7 kB / 30.54 MB, free: 1.195 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.01157, allocations: 326.8 kB / 30.86 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.01174, allocations: 96.14 kB / 30.96 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.01194, allocations: 138.2 kB / 31.09 MB, free: 0.6211 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.01229, allocations: 267 kB / 31.35 MB, free: 344 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0123, allocations: 0 / 31.35 MB, free: 344 kB / 18.57 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005111/0.01282, allocations: 331 kB / 31.67 MB, free: 0 / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 0.006527/0.01936, allocations: 35.86 kB / 31.71 MB, free: 7.359 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.01939, allocations: 2.25 kB / 31.71 MB, free: 7.359 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.01942, allocations: 3 kB / 31.71 MB, free: 7.359 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.01963, allocations: 34.44 kB / 31.75 MB, free: 7.359 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.01965, allocations: 7.516 kB / 31.76 MB, free: 7.359 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.0198, allocations: 29.61 kB / 31.78 MB, free: 7.359 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.01985, allocations: 12.03 kB / 31.8 MB, free: 7.359 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 (P1.emptying,$PRE.P1.fireOut[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.arcType[1],P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.0201, allocations: 204.1 kB / 32 MB, free: 7.215 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.02017, allocations: 16.3 kB / 32.01 MB, free: 7.215 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006318/0.02081, allocations: 328.5 kB / 32.33 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.02084, allocations: 3 kB / 32.34 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02085, allocations: 3.781 kB / 32.34 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.02086, allocations: 1.969 kB / 32.34 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/0.02168, allocations: 0.6501 MB / 32.99 MB, free: 6.824 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.0217, allocations: 0.9688 kB / 32.99 MB, free: 6.824 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.02181, allocations: 23.47 kB / 33.01 MB, free: 6.824 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.02183, allocations: 9.797 kB / 33.02 MB, free: 6.824 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.02185, allocations: 3.938 kB / 33.03 MB, free: 6.824 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.02186, allocations: 1.938 kB / 33.03 MB, free: 6.824 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02186, allocations: 0 / 33.03 MB, free: 6.824 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.02245, allocations: 498.8 kB / 33.52 MB, free: 6.66 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.0225, allocations: 90.34 kB / 33.61 MB, free: 6.566 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.02254, allocations: 9.875 kB / 33.61 MB, free: 6.566 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.02264, allocations: 16.72 kB / 33.63 MB, free: 6.566 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.02275, allocations: 30.92 kB / 33.66 MB, free: 6.566 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.02277, allocations: 12.84 kB / 33.67 MB, free: 6.566 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.02285, allocations: 121.9 kB / 33.79 MB, free: 6.488 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02285, allocations: 0 / 33.79 MB, free: 6.488 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003545/0.02321, allocations: 89.98 kB / 33.88 MB, free: 6.484 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 (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.0002082/0.02343, allocations: 155.5 kB / 34.03 MB, free: 6.395 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.02394, allocations: 297.3 kB / 34.32 MB, free: 6.219 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02396, allocations: 3.938 kB / 34.33 MB, free: 6.215 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.02416, allocations: 167.3 kB / 34.49 MB, free: 6.039 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.0245, allocations: 24.44 kB / 34.51 MB, free: 6.02 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.02547, allocations: 0.5283 MB / 35.04 MB, free: 5.477 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.02569, allocations: 0.7678 MB / 35.81 MB, free: 4.684 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.02584, allocations: 87.67 kB / 35.9 MB, free: 4.602 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.02591, allocations: 31.42 kB / 35.93 MB, free: 4.574 MB / 18.57 MB Notification: Performance of SimCode: time 2.31e-07/0.02592, allocations: 0 / 35.93 MB, free: 4.574 MB / 18.57 MB Notification: Performance of Templates: time 0.005352/0.03128, allocations: 2.594 MB / 38.52 MB, free: 2.012 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)