Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") translateModel(ConPNlib.Examples.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00511/0.00511, allocations: 1.365 MB / 16.61 MB, free: 5.148 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.262e-05, allocations: 0 / 23.66 MB, free: 3.793 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002933/0.0003206, allocations: 360.8 kB / 24.01 MB, free: 3.48 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.001195/0.001524, allocations: 1.951 MB / 25.96 MB, free: 1.527 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002677, allocations: 1.026 MB / 26.99 MB, free: 0.5 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.002875, allocations: 7.938 kB / 27 MB, free: 0.4922 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.003136, allocations: 135.7 kB / 27.13 MB, free: 368 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006531/0.003797, allocations: 369.4 kB / 27.49 MB, free: 0 / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.003959, allocations: 67.92 kB / 27.56 MB, free: 4.578 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.00456, allocations: 0.7167 MB / 28.27 MB, free: 3.859 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004412/0.005009, allocations: 440.5 kB / 28.7 MB, free: 3.414 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.005243, allocations: 278.1 kB / 28.98 MB, free: 3.141 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.005535, allocations: 321.7 kB / 29.29 MB, free: 2.824 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.005607, allocations: 28 kB / 29.32 MB, free: 2.797 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.005941, allocations: 227.7 kB / 29.54 MB, free: 2.574 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.006116, allocations: 191.1 kB / 29.73 MB, free: 2.387 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.006369, allocations: 337.3 kB / 30.06 MB, free: 2.055 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0008533/0.007229, allocations: 0.9736 MB / 31.03 MB, free: 1.078 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.007242, allocations: 0 / 31.03 MB, free: 1.078 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007249, allocations: 0 / 31.03 MB, free: 1.078 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.007263, allocations: 0 / 31.03 MB, free: 1.078 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001066/0.008334, allocations: 0.9949 MB / 32.02 MB, free: 20 kB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.008374, allocations: 12.31 kB / 32.04 MB, free: 8 kB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/0.01316, allocations: 109.6 kB / 32.14 MB, free: 7.352 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.01369, allocations: 496.8 kB / 32.63 MB, free: 7.086 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.01377, allocations: 91.33 kB / 32.72 MB, free: 7.078 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.0139, allocations: 118.5 kB / 32.83 MB, free: 7.078 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.01564, allocations: 1.594 MB / 34.43 MB, free: 6.406 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.01567, allocations: 0.8125 kB / 34.43 MB, free: 6.406 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.01575, allocations: 55.25 kB / 34.48 MB, free: 6.359 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.01586, allocations: 106.2 kB / 34.58 MB, free: 6.254 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.01713, allocations: 1.125 MB / 35.71 MB, free: 5.125 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.01992, allocations: 3.475 MB / 39.19 MB, free: 1.477 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008037/0.02074, allocations: 0.6697 MB / 39.85 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.02128, allocations: 450 kB / 40.29 MB, free: 352 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005906/0.0272, allocations: 0.5972 MB / 40.89 MB, free: 5.785 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.02724, allocations: 42.58 kB / 40.93 MB, free: 5.746 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 2.485e-06/0.02725, allocations: 0 / 40.93 MB, free: 5.746 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.00147/0.02873, allocations: 1.097 MB / 42.03 MB, free: 5.637 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.0288, allocations: 266.7 kB / 42.29 MB, free: 5.355 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.0291, allocations: 418.3 kB / 42.7 MB, free: 5.246 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.02914, allocations: 42.11 kB / 42.74 MB, free: 5.215 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.02933, allocations: 461.7 kB / 43.19 MB, free: 4.938 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.526e-05/0.02942, allocations: 169.1 kB / 43.36 MB, free: 4.82 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.02952, allocations: 110.7 kB / 43.46 MB, free: 4.77 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.02958, allocations: 351.5 kB / 43.81 MB, free: 4.441 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.03002, allocations: 379.4 kB / 44.18 MB, free: 4.336 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.03053, allocations: 0.602 MB / 44.78 MB, free: 3.941 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.0314, allocations: 0.9565 MB / 45.74 MB, free: 2.902 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.03142, allocations: 0 / 45.74 MB, free: 2.902 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00123/0.03266, allocations: 1.126 MB / 46.86 MB, free: 1.766 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.03273, allocations: 95.36 kB / 46.96 MB, free: 1.66 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.03274, allocations: 9.516 kB / 46.97 MB, free: 1.652 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.03277, allocations: 8.844 kB / 46.97 MB, free: 1.645 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.03307, allocations: 120.5 kB / 47.09 MB, free: 1.527 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.03309, allocations: 12 kB / 47.1 MB, free: 1.516 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.03338, allocations: 122 kB / 47.22 MB, free: 1.398 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.03345, allocations: 47.98 kB / 47.27 MB, free: 1.352 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 (P1.emptying,$PRE.P1.fireOut[1],P2.emptying,$PRE.P2.fireOut[2],$PRE.P2.fireOut[1],P3.feeding,$PRE.P3.fireIn[1],P4.feeding,$PRE.P4.fireIn[1],IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.fed[2],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[2],T2.activation.arcType[1],T1.activation.arcType[1],P4.fireIn[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireOut[2],P2.fireOut[1],P1.fireOut[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 2 * 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.0003638/0.03382, allocations: 456.4 kB / 47.72 MB, free: 0.8867 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.0339, allocations: 43.53 kB / 47.76 MB, free: 0.8438 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006253/0.04016, allocations: 0.942 MB / 48.7 MB, free: 5.211 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/0.04022, allocations: 11.86 kB / 48.71 MB, free: 5.211 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.04023, allocations: 1.172 kB / 48.71 MB, free: 5.211 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.04024, allocations: 4.047 kB / 48.72 MB, free: 5.211 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.04206, allocations: 1.756 MB / 50.47 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.04207, allocations: 0 / 50.47 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.04232, allocations: 73.72 kB / 50.54 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.04233, allocations: 5.391 kB / 50.55 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.04238, allocations: 23.86 kB / 50.57 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.04239, allocations: 4.719 kB / 50.58 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.04239, allocations: 0 / 50.58 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.04394, allocations: 1.419 MB / 52 MB, free: 4.324 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.04401, allocations: 115.2 kB / 52.11 MB, free: 4.23 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.0441, allocations: 35.12 kB / 52.14 MB, free: 4.215 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.04433, allocations: 51.81 kB / 52.19 MB, free: 4.199 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.04454, allocations: 132.8 kB / 52.32 MB, free: 4.082 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.0446, allocations: 35.73 kB / 52.36 MB, free: 4.051 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001759/0.04478, allocations: 251.1 kB / 52.6 MB, free: 3.805 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.31e-07/0.04479, allocations: 0 / 52.6 MB, free: 3.805 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005574/0.04535, allocations: 284.4 kB / 52.88 MB, free: 3.566 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 17 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 4 * Algorithm blocks: 2 * 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.0002385/0.0456, allocations: 203.2 kB / 53.08 MB, free: 3.367 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.04668, allocations: 1.132 MB / 54.21 MB, free: 2.223 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.0467, allocations: 3.562 kB / 54.22 MB, free: 2.223 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.04723, allocations: 0.6105 MB / 54.83 MB, free: 1.586 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.04765, allocations: 78.03 kB / 54.9 MB, free: 1.516 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/0.0547, allocations: 2.249 MB / 57.15 MB, free: 4.285 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.05518, allocations: 1.114 MB / 58.26 MB, free: 9.973 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0004373/0.05562, allocations: 253.6 kB / 58.51 MB, free: 9.969 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.05577, allocations: 82.77 kB / 58.59 MB, free: 9.957 MB / 24.96 MB Notification: Performance of SimCode: time 5.61e-07/0.05578, allocations: 0 / 58.59 MB, free: 9.957 MB / 24.96 MB Notification: Performance of Templates: time 0.01088/0.06667, allocations: 7.647 MB / 66.24 MB, free: 3.473 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test10.makefile (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & ./ConPNlib_ConPNlib.Examples.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)