Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.02588/0.02588, allocations: 1.355 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.557e-05, allocations: 0 / 23.21 MB, free: 3.711 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001045/0.001096, allocations: 365.1 kB / 23.57 MB, free: 3.555 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.002661/0.0038, allocations: 1.456 MB / 25.02 MB, free: 2.395 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.006567, allocations: 0.8428 MB / 25.87 MB, free: 1.551 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005656/0.007187, allocations: 11.88 kB / 25.88 MB, free: 1.539 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.007734, allocations: 130 kB / 26 MB, free: 1.414 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.009729, allocations: 327 kB / 26.32 MB, free: 1.094 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.01022, allocations: 63.92 kB / 26.39 MB, free: 1.031 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.01128, allocations: 387.1 kB / 26.76 MB, free: 0.6523 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.01196, allocations: 263.9 kB / 27.02 MB, free: 384 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.01242, allocations: 210.8 kB / 27.23 MB, free: 172 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.01291, allocations: 234.6 kB / 27.46 MB, free: 4.582 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.0131, allocations: 20 kB / 27.48 MB, free: 4.562 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.01392, allocations: 195.6 kB / 27.67 MB, free: 4.371 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.01426, allocations: 131.5 kB / 27.8 MB, free: 4.242 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.01454, allocations: 121.3 kB / 27.91 MB, free: 4.117 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.01615, allocations: 0.6005 MB / 28.51 MB, free: 3.516 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.0162, allocations: 0 / 28.51 MB, free: 3.516 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.805e-06/0.01621, allocations: 0 / 28.51 MB, free: 3.516 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.01624, allocations: 0 / 28.51 MB, free: 3.516 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002191/0.01846, allocations: 0.8497 MB / 29.36 MB, free: 2.605 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.01854, allocations: 8.297 kB / 29.37 MB, free: 2.598 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.01891, allocations: 82.92 kB / 29.45 MB, free: 2.52 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.02021, allocations: 423.8 kB / 29.87 MB, free: 2.066 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.02042, allocations: 66.33 kB / 29.93 MB, free: 2 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/0.02074, allocations: 88.33 kB / 30.02 MB, free: 1.914 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004701/0.02546, allocations: 1.203 MB / 31.22 MB, free: 0.6875 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.02556, allocations: 176 / 31.22 MB, free: 0.6875 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.02576, allocations: 40.33 kB / 31.26 MB, free: 0.6484 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003174/0.02609, allocations: 83.39 kB / 31.34 MB, free: 0.5664 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/0.04732, allocations: 0.8657 MB / 32.21 MB, free: 5.078 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006731/0.05411, allocations: 2.563 MB / 34.77 MB, free: 3.793 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.05613, allocations: 0.6429 MB / 35.41 MB, free: 3.5 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.05686, allocations: 0.591 MB / 36.01 MB, free: 2.824 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.05692, allocations: 40.86 kB / 36.05 MB, free: 2.785 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 4.939e-06/0.05694, allocations: 0 / 36.05 MB, free: 2.785 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.003558/0.06051, allocations: 1.235 MB / 37.28 MB, free: 1.762 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.06069, allocations: 210 kB / 37.49 MB, free: 1.523 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.06136, allocations: 327.8 kB / 37.81 MB, free: 1.258 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 9.068e-05/0.06147, allocations: 35.33 kB / 37.84 MB, free: 1.223 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.06183, allocations: 345.9 kB / 38.18 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.06205, allocations: 129.7 kB / 38.3 MB, free: 0.8281 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.06213, allocations: 15.12 kB / 38.32 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.06226, allocations: 346.2 kB / 38.66 MB, free: 500 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.06338, allocations: 308.2 kB / 38.96 MB, free: 276 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.06468, allocations: 449.4 kB / 39.4 MB, free: 5.965 MB / 24.77 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.06605, allocations: 374.6 kB / 39.76 MB, free: 5.59 MB / 24.77 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.06609, allocations: 0 / 39.76 MB, free: 5.59 MB / 24.77 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00376/0.06986, allocations: 0.9792 MB / 40.74 MB, free: 4.617 MB / 24.77 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.07009, allocations: 83.38 kB / 40.82 MB, free: 4.523 MB / 24.77 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.07013, allocations: 4 kB / 40.83 MB, free: 4.52 MB / 24.77 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.253e-05/0.07019, allocations: 11.95 kB / 40.84 MB, free: 4.508 MB / 24.77 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.07098, allocations: 91.41 kB / 40.93 MB, free: 4.426 MB / 24.77 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.883e-05/0.07104, allocations: 13.72 kB / 40.94 MB, free: 4.418 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.07183, allocations: 91.41 kB / 41.03 MB, free: 4.328 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.07201, allocations: 35.98 kB / 41.07 MB, free: 4.293 MB / 24.77 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * 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.001131/0.07316, allocations: 393.1 kB / 41.45 MB, free: 3.902 MB / 24.77 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.07338, allocations: 37.62 kB / 41.49 MB, free: 3.867 MB / 24.77 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.07686, allocations: 0.8681 MB / 42.36 MB, free: 2.977 MB / 24.77 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/0.07699, allocations: 11.95 kB / 42.37 MB, free: 2.965 MB / 24.77 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.07702, allocations: 0 / 42.37 MB, free: 2.965 MB / 24.77 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.07706, allocations: 4.75 kB / 42.37 MB, free: 2.961 MB / 24.77 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/0.08226, allocations: 1.541 MB / 43.91 MB, free: 1.375 MB / 24.77 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.08233, allocations: 0 / 43.91 MB, free: 1.375 MB / 24.77 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.08297, allocations: 55.25 kB / 43.97 MB, free: 1.324 MB / 24.77 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.08301, allocations: 8 kB / 43.97 MB, free: 1.316 MB / 24.77 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.08314, allocations: 23.94 kB / 44 MB, free: 1.293 MB / 24.77 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.08316, allocations: 8.438 kB / 44.01 MB, free: 1.289 MB / 24.77 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.08318, allocations: 0 / 44.01 MB, free: 1.289 MB / 24.77 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/0.107, allocations: 1.261 MB / 45.27 MB, free: 9.719 MB / 24.77 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.1073, allocations: 108.9 kB / 45.37 MB, free: 9.625 MB / 24.77 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.1076, allocations: 22.11 kB / 45.39 MB, free: 9.625 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.1082, allocations: 54.58 kB / 45.45 MB, free: 9.625 MB / 24.77 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/0.1087, allocations: 113.3 kB / 45.56 MB, free: 9.625 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.1088, allocations: 23.73 kB / 45.58 MB, free: 9.625 MB / 24.77 MB Notification: Performance of sorting global known variables: time 0.0004229/0.1092, allocations: 196.2 kB / 45.77 MB, free: 9.547 MB / 24.77 MB Notification: Performance of sort global known variables: time 8.01e-07/0.1093, allocations: 0 / 45.77 MB, free: 9.547 MB / 24.77 MB Notification: Performance of remove unused functions: time 0.001389/0.1107, allocations: 236.5 kB / 46 MB, free: 9.535 MB / 24.77 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * 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.0006438/0.1114, allocations: 207 kB / 46.21 MB, free: 9.441 MB / 24.77 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.1142, allocations: 0.9118 MB / 47.12 MB, free: 9.316 MB / 24.77 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.1143, allocations: 1.219 kB / 47.12 MB, free: 9.316 MB / 24.77 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.1157, allocations: 0.5118 MB / 47.63 MB, free: 9.188 MB / 24.77 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.1164, allocations: 52.11 kB / 47.68 MB, free: 9.188 MB / 24.77 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.1209, allocations: 1.56 MB / 49.24 MB, free: 8.367 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/0.1218, allocations: 1.027 MB / 50.27 MB, free: 7.477 MB / 24.77 MB Notification: Performance of simCode: alias equations: time 0.0009722/0.1228, allocations: 198.2 kB / 50.46 MB, free: 7.312 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.1231, allocations: 61.73 kB / 50.52 MB, free: 7.262 MB / 24.77 MB Notification: Performance of SimCode: time 1.573e-06/0.1231, allocations: 0 / 50.52 MB, free: 7.262 MB / 24.77 MB Notification: Performance of Templates: time 0.04549/0.1686, allocations: 6.24 MB / 56.76 MB, free: 8.863 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)