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.008416/0.008416, allocations: 1.37 MB / 16.64 MB, free: 5.164 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.47e-05/1.482e-05, allocations: 0 / 23.7 MB, free: 3.75 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006096/0.0006477, allocations: 367.6 kB / 24.06 MB, free: 3.414 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001739/0.002403, allocations: 1.521 MB / 25.58 MB, free: 1.895 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.004281, allocations: 0.8919 MB / 26.47 MB, free: 1 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.004668, allocations: 7.938 kB / 26.48 MB, free: 0.9922 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.005018, allocations: 112.5 kB / 26.59 MB, free: 0.8828 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.006131, allocations: 315.6 kB / 26.9 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.00634, allocations: 56.77 kB / 26.96 MB, free: 0.5195 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.007026, allocations: 0.5804 MB / 27.54 MB, free: 4.578 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.007568, allocations: 302.1 kB / 27.83 MB, free: 4.273 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.007879, allocations: 222.6 kB / 28.05 MB, free: 4.055 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.008234, allocations: 250.2 kB / 28.29 MB, free: 3.809 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.008326, allocations: 28 kB / 28.32 MB, free: 3.781 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.008846, allocations: 227.6 kB / 28.54 MB, free: 3.559 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.009071, allocations: 151.3 kB / 28.69 MB, free: 3.41 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.009404, allocations: 279.8 kB / 28.96 MB, free: 3.129 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.01051, allocations: 0.7749 MB / 29.74 MB, free: 2.352 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01053, allocations: 0 / 29.74 MB, free: 2.352 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.582e-06/0.01054, allocations: 0 / 29.74 MB, free: 2.352 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.01056, allocations: 0 / 29.74 MB, free: 2.352 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.001329/0.01189, allocations: 0.8459 MB / 30.58 MB, free: 1.445 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.01195, allocations: 12.97 kB / 30.6 MB, free: 1.434 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.01215, allocations: 80.09 kB / 30.68 MB, free: 1.355 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.0129, allocations: 439.7 kB / 31.1 MB, free: 0.8867 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.171e-05/0.01301, allocations: 66.36 kB / 31.17 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.0132, allocations: 88.36 kB / 31.26 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.02387, allocations: 1.212 MB / 32.47 MB, free: 7.176 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.02393, allocations: 3 kB / 32.47 MB, free: 7.176 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.02405, allocations: 36.41 kB / 32.51 MB, free: 7.176 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.02422, allocations: 77.8 kB / 32.58 MB, free: 7.176 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.02607, allocations: 0.874 MB / 33.46 MB, free: 7.031 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.02956, allocations: 2.567 MB / 36.02 MB, free: 4.836 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.03065, allocations: 0.635 MB / 36.66 MB, free: 4.152 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006234/0.03129, allocations: 357.5 kB / 37.01 MB, free: 3.805 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/0.03174, allocations: 0.6019 MB / 37.61 MB, free: 3.078 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.03178, allocations: 38.86 kB / 37.65 MB, free: 3.031 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 3.206e-06/0.0318, allocations: 0 / 37.65 MB, free: 3.031 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.002093/0.0339, allocations: 1 MB / 38.65 MB, free: 2.02 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.034, allocations: 208.2 kB / 38.85 MB, free: 1.773 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.03434, allocations: 322.3 kB / 39.17 MB, free: 1.449 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.03441, allocations: 40.75 kB / 39.21 MB, free: 1.406 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.03463, allocations: 342.6 kB / 39.54 MB, free: 1.074 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.03477, allocations: 140.2 kB / 39.68 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.03482, allocations: 12 kB / 39.69 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.0349, allocations: 346.8 kB / 40.03 MB, free: 0.582 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.03554, allocations: 300.9 kB / 40.32 MB, free: 296 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009742/0.0453, allocations: 446.3 kB / 40.76 MB, free: 5.789 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.04671, allocations: 0.7704 MB / 41.53 MB, free: 5.523 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.04674, allocations: 1.281 kB / 41.53 MB, free: 5.523 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001986/0.04873, allocations: 0.9884 MB / 42.52 MB, free: 5.395 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.04882, allocations: 88.38 kB / 42.6 MB, free: 5.32 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.04885, allocations: 3.062 kB / 42.61 MB, free: 5.32 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.04888, allocations: 8.344 kB / 42.62 MB, free: 5.32 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.04932, allocations: 93.94 kB / 42.71 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.04935, allocations: 5.75 kB / 42.71 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.04976, allocations: 88.06 kB / 42.8 MB, free: 5.301 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.04986, allocations: 34.34 kB / 42.83 MB, free: 5.297 MB / 18.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000519/0.05039, allocations: 389 kB / 43.21 MB, free: 5.039 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.05051, allocations: 44.14 kB / 43.26 MB, free: 5.039 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.05226, allocations: 0.866 MB / 44.12 MB, free: 4.539 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.05232, allocations: 16.88 kB / 44.14 MB, free: 4.527 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.05233, allocations: 0 / 44.14 MB, free: 4.527 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.05235, allocations: 4 kB / 44.14 MB, free: 4.523 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.05484, allocations: 1.535 MB / 45.68 MB, free: 2.965 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.05486, allocations: 1.125 kB / 45.68 MB, free: 2.965 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.05521, allocations: 63.89 kB / 45.74 MB, free: 2.902 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.05523, allocations: 5.531 kB / 45.75 MB, free: 2.898 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.05529, allocations: 16 kB / 45.76 MB, free: 2.883 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0553, allocations: 0 / 45.76 MB, free: 2.883 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.05532, allocations: 3.938 kB / 45.77 MB, free: 2.879 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.0576, allocations: 1.26 MB / 47.03 MB, free: 1.605 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.05768, allocations: 121.8 kB / 47.14 MB, free: 1.488 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.05779, allocations: 30.48 kB / 47.17 MB, free: 1.465 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.05813, allocations: 43.97 kB / 47.22 MB, free: 1.422 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.0584, allocations: 118.2 kB / 47.33 MB, free: 1.309 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.05848, allocations: 23.98 kB / 47.36 MB, free: 1.285 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002146/0.05871, allocations: 197.9 kB / 47.55 MB, free: 1.094 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.5e-07/0.05872, allocations: 0 / 47.55 MB, free: 1.094 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008862/0.05961, allocations: 238.3 kB / 47.78 MB, free: 0.8789 MB / 18.57 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 (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.009584/0.06921, allocations: 202.5 kB / 47.98 MB, free: 5.527 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.0711, allocations: 0.9174 MB / 48.9 MB, free: 5.398 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.07112, allocations: 1.031 kB / 48.9 MB, free: 5.398 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.07195, allocations: 0.5043 MB / 49.4 MB, free: 5.27 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.07264, allocations: 58.19 kB / 49.46 MB, free: 5.27 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.07538, allocations: 1.69 MB / 51.15 MB, free: 4.391 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.07587, allocations: 1.013 MB / 52.16 MB, free: 3.566 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0005437/0.07643, allocations: 196.6 kB / 52.35 MB, free: 3.383 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.07663, allocations: 59.39 kB / 52.41 MB, free: 3.324 MB / 18.57 MB Notification: Performance of SimCode: time 4.61e-07/0.07665, allocations: 3.938 kB / 52.42 MB, free: 3.32 MB / 18.57 MB Notification: Performance of Templates: time 0.02519/0.1018, allocations: 6.396 MB / 58.81 MB, free: 2.703 MB / 18.57 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)