Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008903/0.008903, allocations: 1.358 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.374e-05, allocations: 0 / 24.32 MB, free: 3.16 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004631/0.0004959, allocations: 363.8 kB / 24.67 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.001892/0.002402, allocations: 1.798 MB / 26.47 MB, free: 1.027 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.00428, allocations: 0.995 MB / 27.47 MB, free: 32 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.004558, allocations: 7.938 kB / 27.47 MB, free: 24 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.005065, allocations: 136 kB / 27.61 MB, free: 4.531 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.006252, allocations: 346 kB / 27.94 MB, free: 4.195 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.006498, allocations: 79.92 kB / 28.02 MB, free: 4.117 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0009821/0.007496, allocations: 0.7321 MB / 28.76 MB, free: 3.383 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.008147, allocations: 411.9 kB / 29.16 MB, free: 2.961 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.008498, allocations: 294.1 kB / 29.44 MB, free: 2.672 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.008889, allocations: 305.9 kB / 29.74 MB, free: 2.371 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.008997, allocations: 28 kB / 29.77 MB, free: 2.344 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.009489, allocations: 227.6 kB / 29.99 MB, free: 2.121 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.009717, allocations: 175.2 kB / 30.16 MB, free: 1.949 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.01006, allocations: 321.5 kB / 30.48 MB, free: 1.633 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.01127, allocations: 0.923 MB / 31.4 MB, free: 0.707 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01129, allocations: 4 kB / 31.4 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0113, allocations: 0 / 31.4 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.01133, allocations: 1.781 kB / 31.41 MB, free: 0.7031 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.008341/0.01968, allocations: 0.9525 MB / 32.36 MB, free: 7.246 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.01974, allocations: 10 kB / 32.37 MB, free: 7.246 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.02007, allocations: 98.41 kB / 32.47 MB, free: 7.199 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.02089, allocations: 490.3 kB / 32.94 MB, free: 6.938 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.021, allocations: 84.66 kB / 33.03 MB, free: 6.934 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.0212, allocations: 115 kB / 33.14 MB, free: 6.93 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.0241, allocations: 1.489 MB / 34.63 MB, free: 6.27 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.02415, allocations: 192 / 34.63 MB, free: 6.27 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.02428, allocations: 50.34 kB / 34.68 MB, free: 6.227 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/0.02447, allocations: 97.92 kB / 34.77 MB, free: 6.133 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.02677, allocations: 1.072 MB / 35.84 MB, free: 5.066 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004263/0.03105, allocations: 2.889 MB / 38.73 MB, free: 2.07 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.03237, allocations: 0.7532 MB / 39.49 MB, free: 1.266 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.03321, allocations: 463.2 kB / 39.94 MB, free: 0.8125 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007971/0.04119, allocations: 0.8553 MB / 40.79 MB, free: 6.051 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.04124, allocations: 38.39 kB / 40.83 MB, free: 6.012 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 4.288e-06/0.04126, allocations: 3.188 kB / 40.83 MB, free: 6.012 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.004989/0.04625, allocations: 1.72 MB / 42.55 MB, free: 5.77 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.04635, allocations: 245 kB / 42.79 MB, free: 5.52 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.04674, allocations: 350.1 kB / 43.14 MB, free: 5.367 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.04682, allocations: 51.05 kB / 43.19 MB, free: 5.328 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.04705, allocations: 392.8 kB / 43.57 MB, free: 5.07 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.0472, allocations: 167 kB / 43.73 MB, free: 4.953 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.04736, allocations: 100.9 kB / 43.83 MB, free: 4.906 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.04744, allocations: 354.3 kB / 44.18 MB, free: 4.578 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.04823, allocations: 383.4 kB / 44.55 MB, free: 4.355 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.04902, allocations: 0.5283 MB / 45.08 MB, free: 3.766 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.05051, allocations: 0.9769 MB / 46.06 MB, free: 2.707 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.05053, allocations: 0 / 46.06 MB, free: 2.707 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002512/0.05305, allocations: 1.302 MB / 47.36 MB, free: 1.379 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/0.05316, allocations: 121.1 kB / 47.48 MB, free: 1.242 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.05318, allocations: 4 kB / 47.48 MB, free: 1.238 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/0.05611, allocations: 464.8 kB / 47.93 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.0565, allocations: 83.83 kB / 48.02 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008907/0.06543, allocations: 0.895 MB / 48.91 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.06595, allocations: 102.4 kB / 49.01 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.06607, allocations: 47.86 kB / 49.06 MB, free: 5.023 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 (P2.feeding,$PRE.P2.fireIn[1],P3.feeding,$PRE.P3.fireIn[1],P1.outTransition[2].arcType,P1.outTransition[1].arcType,T2.activation.emptied[1],T3.activation.emptied[1],T3.activation.arcType[1],T2.activation.arcType[1],P3.fireIn[1],P2.fireIn[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.fed[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006067/0.0667, allocations: 461.3 kB / 49.51 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.06684, allocations: 46.97 kB / 49.55 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.06942, allocations: 1.235 MB / 50.79 MB, free: 4.664 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.06945, allocations: 0 / 50.79 MB, free: 4.664 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.06946, allocations: 3.875 kB / 50.79 MB, free: 4.664 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.06954, allocations: 122.5 kB / 50.91 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.06968, allocations: 31.02 kB / 50.94 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.07009, allocations: 54.47 kB / 51 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/0.07043, allocations: 144.8 kB / 51.14 MB, free: 4.535 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003082/0.07353, allocations: 1.506 MB / 52.64 MB, free: 3.559 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002987/0.07654, allocations: 1.697 MB / 54.34 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008503/0.0774, allocations: 455.3 kB / 54.79 MB, free: 1.41 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002377/0.07766, allocations: 213.9 kB / 54.99 MB, free: 1.199 MB / 18.57 MB Notification: Performance of Backend: time 5.31e-07/0.07767, allocations: 0 / 54.99 MB, free: 1.199 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.07985, allocations: 1.007 MB / 56 MB, free: 196 kB / 18.57 MB Notification: Performance of SimCode: time 0.003466/0.08333, allocations: 2.394 MB / 58.4 MB, free: 3.91 MB / 24.78 MB Notification: Performance of Templates: time 0.02432/0.1077, allocations: 9.716 MB / 68.11 MB, free: 6.93 MB / 24.78 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)