Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005181/0.005181, allocations: 1.37 MB / 16.62 MB, free: 4.852 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.789e-05, allocations: 0.7031 kB / 23.66 MB, free: 3.668 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008521/0.0008851, allocations: 360 kB / 24.01 MB, free: 3.359 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.0009097/0.001804, allocations: 1.032 MB / 25.04 MB, free: 2.328 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.002728, allocations: 0.7059 MB / 25.75 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.002835, allocations: 4 kB / 25.75 MB, free: 1.617 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.002999, allocations: 67.52 kB / 25.82 MB, free: 1.551 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005398/0.003547, allocations: 228.6 kB / 26.04 MB, free: 1.328 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.841e-05/0.003637, allocations: 42.02 kB / 26.08 MB, free: 1.289 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.003912, allocations: 335 kB / 26.41 MB, free: 0.9609 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.004108, allocations: 150.2 kB / 26.56 MB, free: 0.8086 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.004214, allocations: 123.2 kB / 26.68 MB, free: 0.6875 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.004373, allocations: 139.1 kB / 26.81 MB, free: 0.5508 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.004414, allocations: 12 kB / 26.83 MB, free: 0.5391 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.004693, allocations: 215.6 kB / 27.04 MB, free: 336 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.00477, allocations: 75.69 kB / 27.11 MB, free: 260 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 8.203e-05/0.00486, allocations: 142.9 kB / 27.25 MB, free: 116 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.005335, allocations: 0.4907 MB / 27.74 MB, free: 4.266 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.005352, allocations: 8 kB / 27.75 MB, free: 4.258 MB / 18.57 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005358, allocations: 0 / 27.75 MB, free: 4.258 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.005371, allocations: 0 / 27.75 MB, free: 4.258 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006904/0.006066, allocations: 0.602 MB / 28.35 MB, free: 3.598 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.00614, allocations: 15.5 kB / 28.37 MB, free: 3.586 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.006231, allocations: 42.28 kB / 28.41 MB, free: 3.547 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.006582, allocations: 303.7 kB / 28.7 MB, free: 3.211 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.006632, allocations: 37.36 kB / 28.74 MB, free: 3.176 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.006706, allocations: 44.38 kB / 28.78 MB, free: 3.133 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.007643, allocations: 0.6408 MB / 29.42 MB, free: 2.473 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.00767, allocations: 4.188 kB / 29.43 MB, free: 2.469 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.007717, allocations: 19.94 kB / 29.45 MB, free: 2.449 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.007786, allocations: 40.97 kB / 29.49 MB, free: 2.41 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.008477, allocations: 463.6 kB / 29.94 MB, free: 1.957 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.01023, allocations: 1.493 MB / 31.43 MB, free: 340 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005376/0.01562, allocations: 360.9 kB / 31.79 MB, free: 7.277 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.01594, allocations: 176.9 kB / 31.96 MB, free: 7.27 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/0.01628, allocations: 0.599 MB / 32.56 MB, free: 6.613 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.01631, allocations: 34.92 kB / 32.59 MB, free: 6.574 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.234e-06/0.01632, allocations: 0 / 32.59 MB, free: 6.574 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0008949/0.01722, allocations: 0.5353 MB / 33.13 MB, free: 6.512 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.01728, allocations: 142.6 kB / 33.27 MB, free: 6.355 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.01747, allocations: 221.5 kB / 33.48 MB, free: 6.242 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.01751, allocations: 31.98 kB / 33.51 MB, free: 6.211 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.01765, allocations: 222.2 kB / 33.73 MB, free: 6.078 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.01771, allocations: 74.17 kB / 33.8 MB, free: 6.039 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.01777, allocations: 49.05 kB / 33.85 MB, free: 6.023 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.01784, allocations: 329.8 kB / 34.17 MB, free: 5.711 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.01815, allocations: 157.8 kB / 34.33 MB, free: 5.707 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.01843, allocations: 250.4 kB / 34.57 MB, free: 5.617 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.01888, allocations: 423.5 kB / 34.99 MB, free: 5.422 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01889, allocations: 0 / 34.99 MB, free: 5.422 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000625/0.01952, allocations: 0.5365 MB / 35.52 MB, free: 5.027 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.01957, allocations: 46.81 kB / 35.57 MB, free: 4.977 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01958, allocations: 4 kB / 35.57 MB, free: 4.973 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.0196, allocations: 0 / 35.57 MB, free: 4.973 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01977, allocations: 56.66 kB / 35.63 MB, free: 4.918 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01979, allocations: 4 kB / 35.63 MB, free: 4.914 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.01993, allocations: 55.72 kB / 35.68 MB, free: 4.859 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.01997, allocations: 17.69 kB / 35.7 MB, free: 4.844 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (P1.emptying,$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[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 (36): * Single equations (assignments): 33 * Array equations: 2 * 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.0001998/0.02018, allocations: 256.5 kB / 35.95 MB, free: 4.582 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.02023, allocations: 19.81 kB / 35.97 MB, free: 4.562 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/0.02084, allocations: 481.9 kB / 36.44 MB, free: 4.09 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.02087, allocations: 8 kB / 36.45 MB, free: 4.082 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.02088, allocations: 0 / 36.45 MB, free: 4.082 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02089, allocations: 0.6562 kB / 36.45 MB, free: 4.082 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.02178, allocations: 0.922 MB / 37.37 MB, free: 3.109 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02179, allocations: 7.812 kB / 37.38 MB, free: 3.105 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.02192, allocations: 31.98 kB / 37.41 MB, free: 3.074 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02193, allocations: 3.938 kB / 37.42 MB, free: 3.07 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.02196, allocations: 8 kB / 37.42 MB, free: 3.062 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02197, allocations: 4 kB / 37.43 MB, free: 3.059 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.02197, allocations: 5.766 kB / 37.43 MB, free: 3.055 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.02277, allocations: 0.7162 MB / 38.15 MB, free: 2.316 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.02281, allocations: 92.89 kB / 38.24 MB, free: 2.207 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.02286, allocations: 15.98 kB / 38.26 MB, free: 2.191 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.023, allocations: 23.98 kB / 38.28 MB, free: 2.168 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.02312, allocations: 54.98 kB / 38.33 MB, free: 2.117 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.02315, allocations: 19.98 kB / 38.35 MB, free: 2.098 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.02323, allocations: 141.7 kB / 38.49 MB, free: 1.961 MB / 18.57 MB Notification: Performance of sort global known variables: time 1e-07/0.02324, allocations: 0 / 38.49 MB, free: 1.961 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003883/0.02363, allocations: 159 kB / 38.65 MB, free: 1.812 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.0002211/0.02386, allocations: 178.2 kB / 38.82 MB, free: 1.645 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.02441, allocations: 490.2 kB / 39.3 MB, free: 1.156 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02443, allocations: 0 / 39.3 MB, free: 1.156 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.02468, allocations: 265.8 kB / 39.56 MB, free: 0.8867 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.02499, allocations: 31.77 kB / 39.59 MB, free: 0.8594 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/0.0312, allocations: 0.9222 MB / 40.51 MB, free: 6.277 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.03154, allocations: 0.8517 MB / 41.36 MB, free: 11.96 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.03178, allocations: 114.3 kB / 41.47 MB, free: 11.96 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.03187, allocations: 43.55 kB / 41.52 MB, free: 11.95 MB / 24.96 MB Notification: Performance of SimCode: time 4.5e-07/0.03188, allocations: 2.031 kB / 41.52 MB, free: 11.95 MB / 24.96 MB Notification: Performance of Templates: time 0.006205/0.03809, allocations: 4.046 MB / 45.56 MB, free: 9.312 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)