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.005866/0.005866, allocations: 1.362 MB / 17.27 MB, free: 4.559 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.193e-05, allocations: 4 kB / 24.32 MB, free: 3.156 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002338/0.0002581, allocations: 361.4 kB / 24.68 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.000752/0.001018, allocations: 1.027 MB / 25.7 MB, free: 1.797 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.001809, allocations: 0.7042 MB / 26.41 MB, free: 1.09 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.001914, allocations: 7.938 kB / 26.41 MB, free: 1.082 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.002088, allocations: 63.58 kB / 26.48 MB, free: 1.02 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.002555, allocations: 231.2 kB / 26.7 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 6.685e-05/0.002633, allocations: 39.91 kB / 26.74 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.002852, allocations: 335 kB / 27.07 MB, free: 440 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.00301, allocations: 145.1 kB / 27.21 MB, free: 288 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.003098, allocations: 127.2 kB / 27.33 MB, free: 160 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.003214, allocations: 139.1 kB / 27.47 MB, free: 20 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.003251, allocations: 12 kB / 27.48 MB, free: 8 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.003547, allocations: 211.7 kB / 27.69 MB, free: 4.441 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.003632, allocations: 75.58 kB / 27.76 MB, free: 4.371 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.003752, allocations: 142.9 kB / 27.9 MB, free: 4.23 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.004204, allocations: 0.4985 MB / 28.4 MB, free: 3.73 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004215, allocations: 4 kB / 28.4 MB, free: 3.727 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004221, allocations: 0 / 28.4 MB, free: 3.727 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.004231, allocations: 0 / 28.4 MB, free: 3.727 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.0006207/0.004857, allocations: 0.6037 MB / 29.01 MB, free: 3.066 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.004897, allocations: 8.312 kB / 29.02 MB, free: 3.059 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.004981, allocations: 44.47 kB / 29.06 MB, free: 3.016 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.005302, allocations: 303.7 kB / 29.36 MB, free: 2.68 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.005346, allocations: 37.38 kB / 29.39 MB, free: 2.645 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.005411, allocations: 48.36 kB / 29.44 MB, free: 2.598 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008911/0.006308, allocations: 0.6369 MB / 30.08 MB, free: 1.941 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.006332, allocations: 192 / 30.08 MB, free: 1.941 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.006385, allocations: 23.94 kB / 30.1 MB, free: 1.918 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/0.00645, allocations: 40.91 kB / 30.14 MB, free: 1.879 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.007145, allocations: 459.7 kB / 30.59 MB, free: 1.43 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/0.01283, allocations: 1.505 MB / 32.09 MB, free: 7.008 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.0133, allocations: 357.9 kB / 32.44 MB, free: 6.891 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.01353, allocations: 179.1 kB / 32.62 MB, free: 6.883 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000265/0.01381, allocations: 0.5957 MB / 33.21 MB, free: 6.227 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.01383, allocations: 39.3 kB / 33.25 MB, free: 6.188 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.01384, allocations: 1.219 kB / 33.25 MB, free: 6.188 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0007775/0.01462, allocations: 0.53 MB / 33.78 MB, free: 6.125 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.01467, allocations: 142 kB / 33.92 MB, free: 5.969 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.01481, allocations: 226.4 kB / 34.14 MB, free: 5.855 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01484, allocations: 33.55 kB / 34.18 MB, free: 5.824 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.01492, allocations: 216.6 kB / 34.39 MB, free: 5.684 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.01497, allocations: 71.52 kB / 34.46 MB, free: 5.645 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.01502, allocations: 49.27 kB / 34.51 MB, free: 5.629 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.01507, allocations: 329.6 kB / 34.83 MB, free: 5.316 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.0153, allocations: 167.1 kB / 34.99 MB, free: 5.309 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.01555, allocations: 253 kB / 35.24 MB, free: 5.168 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.01596, allocations: 412.9 kB / 35.64 MB, free: 4.91 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01597, allocations: 3.562 kB / 35.65 MB, free: 4.91 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000619/0.01659, allocations: 0.5388 MB / 36.18 MB, free: 4.371 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.01663, allocations: 45.69 kB / 36.23 MB, free: 4.32 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01665, allocations: 4 kB / 36.23 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.01666, allocations: 4 kB / 36.24 MB, free: 4.312 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.01681, allocations: 47.91 kB / 36.28 MB, free: 4.266 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01683, allocations: 7.938 kB / 36.29 MB, free: 4.258 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.01697, allocations: 55.89 kB / 36.35 MB, free: 4.203 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.01701, allocations: 15.98 kB / 36.36 MB, free: 4.188 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.0001707/0.01719, allocations: 246.4 kB / 36.6 MB, free: 3.934 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.01724, allocations: 19.81 kB / 36.62 MB, free: 3.914 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/0.01784, allocations: 481.4 kB / 37.09 MB, free: 3.441 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01786, allocations: 8.812 kB / 37.1 MB, free: 3.434 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01787, allocations: 0 / 37.1 MB, free: 3.434 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.0179, allocations: 100.6 kB / 37.2 MB, free: 3.32 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.01795, allocations: 16.55 kB / 37.21 MB, free: 3.305 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.01809, allocations: 28.91 kB / 37.24 MB, free: 3.277 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.0182, allocations: 51.94 kB / 37.29 MB, free: 3.227 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006405/0.01885, allocations: 0.596 MB / 37.89 MB, free: 2.613 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007699/0.01963, allocations: 0.7974 MB / 38.69 MB, free: 1.793 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002105/0.01985, allocations: 186.1 kB / 38.87 MB, free: 1.613 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.01993, allocations: 137.6 kB / 39 MB, free: 1.48 MB / 18.57 MB Notification: Performance of Backend: time 3.41e-07/0.01994, allocations: 0 / 39 MB, free: 1.48 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0007176/0.02066, allocations: 497.9 kB / 39.49 MB, free: 0.9922 MB / 18.57 MB Notification: Performance of SimCode: time 0.004824/0.0255, allocations: 1.25 MB / 40.74 MB, free: 6.09 MB / 18.57 MB Notification: Performance of Templates: time 0.006331/0.03184, allocations: 4.61 MB / 45.35 MB, free: 3.125 MB / 18.57 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)