Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008339/0.008339, allocations: 1.358 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.653e-05/1.664e-05, allocations: 0 / 24.32 MB, free: 3.098 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003721/0.0004056, allocations: 364.9 kB / 24.67 MB, free: 2.789 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001552/0.00197, allocations: 1.552 MB / 26.23 MB, free: 1.234 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003472, allocations: 0.9009 MB / 27.13 MB, free: 344 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.003714, allocations: 7.938 kB / 27.14 MB, free: 336 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.004052, allocations: 112 kB / 27.24 MB, free: 224 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0008919/0.004957, allocations: 321.5 kB / 27.56 MB, free: 4.551 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.005138, allocations: 51.95 kB / 27.61 MB, free: 4.5 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.00592, allocations: 0.5919 MB / 28.2 MB, free: 3.906 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.006427, allocations: 290.4 kB / 28.49 MB, free: 3.605 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.006725, allocations: 230.6 kB / 28.71 MB, free: 3.379 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.007064, allocations: 258.2 kB / 28.96 MB, free: 3.125 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.007153, allocations: 20 kB / 28.98 MB, free: 3.105 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004392/0.007602, allocations: 219.6 kB / 29.2 MB, free: 2.891 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.007808, allocations: 151.3 kB / 29.34 MB, free: 2.742 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.008122, allocations: 266 kB / 29.6 MB, free: 2.48 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0009892/0.009124, allocations: 0.7896 MB / 30.39 MB, free: 1.691 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00914, allocations: 0 / 30.39 MB, free: 1.691 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00915, allocations: 0 / 30.39 MB, free: 1.691 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.009174, allocations: 4.656 kB / 30.4 MB, free: 1.688 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.001233/0.01042, allocations: 0.8419 MB / 31.24 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.01047, allocations: 8.312 kB / 31.25 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.01067, allocations: 80.09 kB / 31.33 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.01143, allocations: 435.8 kB / 31.75 MB, free: 240 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.01152, allocations: 66.36 kB / 31.82 MB, free: 172 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.0117, allocations: 88.36 kB / 31.9 MB, free: 84 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008993/0.0207, allocations: 1.221 MB / 33.12 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.02076, allocations: 3.688 kB / 33.13 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.02087, allocations: 44.94 kB / 33.17 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.02103, allocations: 77.97 kB / 33.25 MB, free: 7.309 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.02272, allocations: 0.8809 MB / 34.13 MB, free: 6.82 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.02598, allocations: 2.424 MB / 36.55 MB, free: 4.328 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.02698, allocations: 0.5792 MB / 37.13 MB, free: 3.719 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.02761, allocations: 373.3 kB / 37.5 MB, free: 3.352 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/0.02829, allocations: 1.029 MB / 38.52 MB, free: 2.102 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.02832, allocations: 34.89 kB / 38.56 MB, free: 2.059 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/0.02833, allocations: 4 kB / 38.56 MB, free: 2.055 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.003948/0.03229, allocations: 1.433 MB / 40 MB, free: 0.5898 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.03237, allocations: 223.8 kB / 40.21 MB, free: 336 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.03269, allocations: 314.1 kB / 40.52 MB, free: 16 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.006894/0.0396, allocations: 35.45 kB / 40.56 MB, free: 6.426 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.03981, allocations: 333.3 kB / 40.88 MB, free: 6.281 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.03995, allocations: 145 kB / 41.02 MB, free: 6.199 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.04009, allocations: 79.95 kB / 41.1 MB, free: 6.184 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.04017, allocations: 349.2 kB / 41.44 MB, free: 5.871 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.04081, allocations: 316.2 kB / 41.75 MB, free: 5.871 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/0.04154, allocations: 452.2 kB / 42.19 MB, free: 5.727 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.04272, allocations: 0.7829 MB / 42.97 MB, free: 5.414 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.04274, allocations: 0 / 42.97 MB, free: 5.414 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001988/0.04474, allocations: 1.072 MB / 44.05 MB, free: 4.984 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.04481, allocations: 86.95 kB / 44.13 MB, free: 4.895 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.04483, allocations: 4 kB / 44.14 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.0473, allocations: 443.5 kB / 44.57 MB, free: 4.484 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.0476, allocations: 75.89 kB / 44.64 MB, free: 4.41 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007314/0.04835, allocations: 0.7819 MB / 45.43 MB, free: 3.609 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.04873, allocations: 87.45 kB / 45.51 MB, free: 3.523 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.04882, allocations: 38.06 kB / 45.55 MB, free: 3.488 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 26 ('P1'.emptying,$PRE.'P1'.fireOut[1],'P3'.feeding,$PRE.'P3'.fireIn[1],'P2'.outTransition[1].arcType,'P1'.outTransition[1].arcType,'T1'.activation.fed[1],'T2'.activation.emptied[1],'T2'.activation.arcType[1],'T1'.activation.arcType[1],'P3'.fireIn[1],'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active,'T2'.activation.fed[1],'P2'.fireOut[1],$PRE.'P2'.fireOut[1],'P2'.fireIn[1],$PRE.'P2'.fireIn[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T1'.activation.emptied[1],'P1'.fireOut[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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.04926, allocations: 394.2 kB / 45.93 MB, free: 3.086 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.04938, allocations: 39.38 kB / 45.97 MB, free: 3.051 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.05149, allocations: 1.041 MB / 47.01 MB, free: 2 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.05151, allocations: 3.984 kB / 47.02 MB, free: 1.996 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.05152, allocations: 0 / 47.02 MB, free: 1.996 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.05158, allocations: 116.5 kB / 47.13 MB, free: 1.863 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.05169, allocations: 23.98 kB / 47.15 MB, free: 1.84 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.05203, allocations: 50.47 kB / 47.2 MB, free: 1.793 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.05229, allocations: 111.9 kB / 47.31 MB, free: 1.684 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009159/0.06146, allocations: 1.229 MB / 48.54 MB, free: 5.344 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002379/0.06385, allocations: 1.423 MB / 49.96 MB, free: 5.074 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006724/0.06454, allocations: 385.7 kB / 50.34 MB, free: 5.047 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.000178/0.06473, allocations: 196 kB / 50.53 MB, free: 4.934 MB / 18.57 MB Notification: Performance of Backend: time 4.21e-07/0.06474, allocations: 0 / 50.53 MB, free: 4.934 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.06648, allocations: 0.8466 MB / 51.38 MB, free: 4.535 MB / 18.57 MB Notification: Performance of SimCode: time 0.001911/0.06841, allocations: 2.032 MB / 53.41 MB, free: 2.922 MB / 18.57 MB Notification: Performance of Templates: time 0.0205/0.08893, allocations: 8.376 MB / 61.79 MB, free: 1.129 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test11.makefile (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & ./ConPNlib_ConPNlib.Examples.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)