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.008347/0.008347, allocations: 1.36 MB / 17.27 MB, free: 4.539 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.095e-05, allocations: 0 / 24.32 MB, free: 3.137 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003942/0.000424, allocations: 362.3 kB / 24.67 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.001955/0.002391, allocations: 1.957 MB / 26.63 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.004261, allocations: 1.022 MB / 27.65 MB, free: 4.469 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.00456, allocations: 8.75 kB / 27.66 MB, free: 4.461 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.005013, allocations: 135 kB / 27.79 MB, free: 4.328 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.00618, allocations: 369.8 kB / 28.15 MB, free: 3.969 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.006398, allocations: 71.92 kB / 28.22 MB, free: 3.898 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.007412, allocations: 0.7167 MB / 28.94 MB, free: 3.18 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007124/0.008138, allocations: 432.5 kB / 29.36 MB, free: 2.738 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.008476, allocations: 286.1 kB / 29.64 MB, free: 2.457 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.00887, allocations: 321.7 kB / 29.96 MB, free: 2.141 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.008971, allocations: 28 kB / 29.98 MB, free: 2.113 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.009443, allocations: 223.6 kB / 30.2 MB, free: 1.895 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.00969, allocations: 191.1 kB / 30.39 MB, free: 1.707 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.01007, allocations: 337.3 kB / 30.72 MB, free: 1.375 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.0114, allocations: 0.9735 MB / 31.69 MB, free: 408 kB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01142, allocations: 0 / 31.69 MB, free: 408 kB / 18.57 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01143, allocations: 0 / 31.69 MB, free: 408 kB / 18.57 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.01144, allocations: 3.469 kB / 31.7 MB, free: 408 kB / 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.007911/0.01936, allocations: 0.99 MB / 32.69 MB, free: 7.223 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01942, allocations: 9.281 kB / 32.69 MB, free: 7.223 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.01965, allocations: 106.4 kB / 32.8 MB, free: 7.172 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000749/0.02041, allocations: 0.4973 MB / 33.3 MB, free: 6.895 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/0.02052, allocations: 91.34 kB / 33.38 MB, free: 6.891 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.02072, allocations: 118.8 kB / 33.5 MB, free: 6.891 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.02352, allocations: 1.592 MB / 35.09 MB, free: 5.816 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.02357, allocations: 3.562 kB / 35.1 MB, free: 5.816 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.0237, allocations: 61.8 kB / 35.16 MB, free: 5.762 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.02388, allocations: 98.19 kB / 35.25 MB, free: 5.664 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.02612, allocations: 1.125 MB / 36.38 MB, free: 4.531 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004491/0.03063, allocations: 3.479 MB / 39.86 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.03192, allocations: 0.662 MB / 40.52 MB, free: 180 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008089/0.04002, allocations: 447.7 kB / 40.96 MB, free: 6.402 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/0.04049, allocations: 0.5995 MB / 41.56 MB, free: 5.746 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.04052, allocations: 44.88 kB / 41.6 MB, free: 5.707 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 3.356e-06/0.04054, allocations: 0 / 41.6 MB, free: 5.707 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.002356/0.0429, allocations: 1.097 MB / 42.7 MB, free: 5.574 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.04299, allocations: 272.2 kB / 42.96 MB, free: 5.277 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.04348, allocations: 419 kB / 43.37 MB, free: 5.082 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.04355, allocations: 41.91 kB / 43.41 MB, free: 5.047 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.04381, allocations: 448.2 kB / 43.85 MB, free: 4.746 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.04395, allocations: 172.8 kB / 44.02 MB, free: 4.629 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.0441, allocations: 109 kB / 44.13 MB, free: 4.578 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.04418, allocations: 356.9 kB / 44.47 MB, free: 4.246 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.04494, allocations: 380 kB / 44.85 MB, free: 4.113 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008379/0.04579, allocations: 0.5935 MB / 45.44 MB, free: 3.496 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.04724, allocations: 0.9662 MB / 46.4 MB, free: 2.441 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.04726, allocations: 7.172 kB / 46.41 MB, free: 2.438 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002063/0.04934, allocations: 1.126 MB / 47.54 MB, free: 1.297 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.04943, allocations: 87.38 kB / 47.62 MB, free: 1.199 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.04945, allocations: 8 kB / 47.63 MB, free: 1.191 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.04948, allocations: 8 kB / 47.64 MB, free: 1.184 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.05, allocations: 123.7 kB / 47.76 MB, free: 1.062 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.05003, allocations: 8.125 kB / 47.77 MB, free: 1.055 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.05055, allocations: 120.5 kB / 47.89 MB, free: 0.9375 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.05066, allocations: 51.56 kB / 47.94 MB, free: 0.8906 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.0006169/0.05129, allocations: 459 kB / 48.38 MB, free: 432 kB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.05143, allocations: 43.53 kB / 48.43 MB, free: 388 kB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009861/0.0613, allocations: 0.9379 MB / 49.36 MB, free: 5.457 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.06134, allocations: 6.172 kB / 49.37 MB, free: 5.457 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.06136, allocations: 0 / 49.37 MB, free: 5.457 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.06145, allocations: 116 kB / 49.48 MB, free: 5.363 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.06159, allocations: 32.28 kB / 49.52 MB, free: 5.363 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.062, allocations: 56.03 kB / 49.57 MB, free: 5.363 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.0623, allocations: 133.5 kB / 49.7 MB, free: 5.363 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00203/0.06435, allocations: 1.119 MB / 50.82 MB, free: 5.035 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002546/0.06691, allocations: 1.483 MB / 52.3 MB, free: 4.254 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007387/0.06767, allocations: 461.1 kB / 52.75 MB, free: 3.805 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002831/0.06796, allocations: 247.2 kB / 52.99 MB, free: 3.562 MB / 18.57 MB Notification: Performance of Backend: time 5.31e-07/0.06797, allocations: 2.531 kB / 53 MB, free: 3.562 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.06992, allocations: 0.9673 MB / 53.96 MB, free: 2.598 MB / 18.57 MB Notification: Performance of SimCode: time 0.002686/0.07262, allocations: 2.353 MB / 56.32 MB, free: 188 kB / 18.57 MB Notification: Performance of Templates: time 0.02788/0.1005, allocations: 8.887 MB / 65.2 MB, free: 4.293 MB / 24.77 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)