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.005712/0.005712, allocations: 1.362 MB / 17.26 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.012e-05/1.008e-05, allocations: 0 / 24.31 MB, free: 3.16 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004791/0.0005071, allocations: 362.6 kB / 24.66 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.001425/0.001943, allocations: 1.798 MB / 26.46 MB, free: 1.027 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.003452, allocations: 0.9957 MB / 27.45 MB, free: 32 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.003791, allocations: 7.938 kB / 27.46 MB, free: 24 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.004179, allocations: 138 kB / 27.6 MB, free: 4.535 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.005219, allocations: 346.8 kB / 27.94 MB, free: 4.195 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.005501, allocations: 75.92 kB / 28.01 MB, free: 4.121 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.006304, allocations: 0.7361 MB / 28.75 MB, free: 3.383 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/0.006847, allocations: 409 kB / 29.15 MB, free: 2.965 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.007221, allocations: 290.1 kB / 29.43 MB, free: 2.68 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.00762, allocations: 309.9 kB / 29.73 MB, free: 2.375 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.007723, allocations: 28 kB / 29.76 MB, free: 2.348 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.008171, allocations: 227.6 kB / 29.98 MB, free: 2.125 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.00837, allocations: 175.2 kB / 30.15 MB, free: 1.953 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.008678, allocations: 329.5 kB / 30.47 MB, free: 1.629 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0008006/0.009486, allocations: 0.7099 MB / 31.18 MB, free: 0.918 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.0095, allocations: 0 / 31.18 MB, free: 0.918 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.784e-06/0.009508, allocations: 0 / 31.18 MB, free: 0.918 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.009539, allocations: 0 / 31.18 MB, free: 0.918 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.006868/0.01641, allocations: 0.9624 MB / 32.15 MB, free: 6.902 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01646, allocations: 8.906 kB / 32.16 MB, free: 6.902 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.01675, allocations: 100.2 kB / 32.25 MB, free: 6.855 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.01741, allocations: 491.4 kB / 32.73 MB, free: 6.598 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.01753, allocations: 83.98 kB / 32.81 MB, free: 6.594 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.01771, allocations: 111.3 kB / 32.92 MB, free: 6.59 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.01975, allocations: 1.495 MB / 34.42 MB, free: 6.223 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.01978, allocations: 192 / 34.42 MB, free: 6.223 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.01988, allocations: 51.91 kB / 34.47 MB, free: 6.207 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.02, allocations: 90.06 kB / 34.56 MB, free: 6.129 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.02144, allocations: 1.081 MB / 35.64 MB, free: 5.082 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.02455, allocations: 2.882 MB / 38.52 MB, free: 2.09 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.02537, allocations: 0.757 MB / 39.28 MB, free: 1.281 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.02589, allocations: 455.3 kB / 39.72 MB, free: 0.8359 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006354/0.03225, allocations: 0.8615 MB / 40.58 MB, free: 5.656 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.03231, allocations: 36.33 kB / 40.62 MB, free: 5.617 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.03232, allocations: 0 / 40.62 MB, free: 5.617 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.003262/0.03559, allocations: 1.722 MB / 42.34 MB, free: 5.375 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.03569, allocations: 247.9 kB / 42.58 MB, free: 5.125 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.03601, allocations: 359.2 kB / 42.93 MB, free: 5.02 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.03606, allocations: 37.89 kB / 42.97 MB, free: 4.988 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.03628, allocations: 398.4 kB / 43.36 MB, free: 4.781 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.0364, allocations: 168.7 kB / 43.52 MB, free: 4.684 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.03657, allocations: 101.9 kB / 43.62 MB, free: 4.668 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.03665, allocations: 359.4 kB / 43.98 MB, free: 4.355 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.03714, allocations: 374.7 kB / 44.34 MB, free: 4.281 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.0377, allocations: 0.5348 MB / 44.88 MB, free: 3.691 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.03866, allocations: 0.9713 MB / 45.85 MB, free: 2.641 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.03867, allocations: 4 kB / 45.85 MB, free: 2.637 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001556/0.04023, allocations: 1.296 MB / 47.15 MB, free: 1.316 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.04032, allocations: 125.1 kB / 47.27 MB, free: 1.176 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.04034, allocations: 7.984 kB / 47.28 MB, free: 1.168 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.04217, allocations: 463.6 kB / 47.73 MB, free: 0.7148 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.04241, allocations: 85.33 kB / 47.81 MB, free: 0.6328 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.04957, allocations: 0.8918 MB / 48.7 MB, free: 4.609 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.05, allocations: 95.98 kB / 48.8 MB, free: 4.609 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/0.05009, allocations: 42.59 kB / 48.84 MB, free: 4.609 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.0004955/0.0506, allocations: 472.8 kB / 49.3 MB, free: 4.398 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.05071, allocations: 45.56 kB / 49.35 MB, free: 4.398 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.05239, allocations: 1.235 MB / 50.58 MB, free: 4.25 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/0.05243, allocations: 13.53 kB / 50.59 MB, free: 4.25 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.05244, allocations: 0 / 50.59 MB, free: 4.25 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.05246, allocations: 5.016 kB / 50.6 MB, free: 4.25 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.05476, allocations: 2.005 MB / 52.6 MB, free: 3.266 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.05477, allocations: 1.969 kB / 52.61 MB, free: 3.266 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.05495, allocations: 50.88 kB / 52.66 MB, free: 3.219 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.05594, allocations: 379.9 kB / 53.03 MB, free: 2.855 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.05599, allocations: 26.8 kB / 53.05 MB, free: 2.832 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007004/0.0567, allocations: 0.9393 MB / 53.99 MB, free: 1.879 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.05672, allocations: 2.062 kB / 53.99 MB, free: 1.879 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.05877, allocations: 1.719 MB / 55.71 MB, free: 152 kB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.05883, allocations: 115.1 kB / 55.83 MB, free: 36 kB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/0.05892, allocations: 32.03 kB / 55.86 MB, free: 4 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.05919, allocations: 51.91 kB / 55.91 MB, free: 6.148 MB / 24.77 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.05945, allocations: 148 kB / 56.05 MB, free: 6.008 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.05953, allocations: 35.03 kB / 56.09 MB, free: 5.977 MB / 24.77 MB Notification: Performance of sorting global known variables: time 0.0002017/0.05973, allocations: 216.7 kB / 56.3 MB, free: 5.766 MB / 24.77 MB Notification: Performance of sort global known variables: time 2e-07/0.05974, allocations: 0 / 56.3 MB, free: 5.766 MB / 24.77 MB Notification: Performance of remove unused functions: time 0.0007045/0.06045, allocations: 276.8 kB / 56.57 MB, free: 5.52 MB / 24.77 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003476/0.06081, allocations: 217.8 kB / 56.78 MB, free: 5.316 MB / 24.77 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.06255, allocations: 1.181 MB / 57.96 MB, free: 4.105 MB / 24.77 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.06256, allocations: 3.938 kB / 57.97 MB, free: 4.102 MB / 24.77 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.0634, allocations: 0.6937 MB / 58.66 MB, free: 3.375 MB / 24.77 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.06389, allocations: 62.95 kB / 58.72 MB, free: 3.309 MB / 24.77 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.06681, allocations: 2.062 MB / 60.78 MB, free: 1.223 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.0675, allocations: 1.074 MB / 61.86 MB, free: 128 kB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.06763, allocations: 55.41 kB / 61.91 MB, free: 72 kB / 24.77 MB Notification: Performance of SimCode: time 5.61e-07/0.06764, allocations: 0 / 61.91 MB, free: 72 kB / 24.77 MB Notification: Performance of Templates: time 0.03023/0.09787, allocations: 13.8 MB / 75.71 MB, free: 8.004 MB / 24.77 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)