Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") translateModel(ConPNlib.Examples.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01144/0.01144, allocations: 1.364 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.368e-05/1.372e-05, allocations: 0 / 23.24 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004987/0.0005294, allocations: 356.6 kB / 23.58 MB, free: 3.875 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001051/0.001589, allocations: 1.415 MB / 25 MB, free: 2.648 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002898, allocations: 0.8308 MB / 25.83 MB, free: 1.816 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.003182, allocations: 14.84 kB / 25.84 MB, free: 1.805 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.003391, allocations: 103.2 kB / 25.95 MB, free: 1.703 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.004039, allocations: 291 kB / 26.23 MB, free: 1.418 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.004169, allocations: 51.94 kB / 26.28 MB, free: 1.367 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.004554, allocations: 0.5608 MB / 26.84 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.004835, allocations: 263.7 kB / 27.1 MB, free: 0.5234 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.004989, allocations: 230.7 kB / 27.32 MB, free: 304 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.005166, allocations: 238.4 kB / 27.56 MB, free: 64 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.00522, allocations: 24 kB / 27.58 MB, free: 40 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.005554, allocations: 203.7 kB / 27.78 MB, free: 4.484 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.00569, allocations: 139.3 kB / 27.91 MB, free: 4.348 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.005803, allocations: 121.3 kB / 28.03 MB, free: 4.223 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.00635, allocations: 0.6005 MB / 28.63 MB, free: 3.621 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.006361, allocations: 0 / 28.63 MB, free: 3.621 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006367, allocations: 0 / 28.63 MB, free: 3.621 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.006381, allocations: 4 kB / 28.64 MB, free: 3.617 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.0009613/0.007347, allocations: 0.8497 MB / 29.49 MB, free: 2.703 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.007389, allocations: 8.297 kB / 29.5 MB, free: 2.695 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.007536, allocations: 80.02 kB / 29.57 MB, free: 2.617 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.008096, allocations: 425.5 kB / 29.99 MB, free: 2.164 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.008177, allocations: 66.33 kB / 30.05 MB, free: 2.098 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.008304, allocations: 88.33 kB / 30.14 MB, free: 2.012 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.01023, allocations: 1.219 MB / 31.36 MB, free: 0.7695 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.01027, allocations: 176 / 31.36 MB, free: 0.7695 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.01035, allocations: 40.33 kB / 31.4 MB, free: 0.7305 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.01048, allocations: 83.39 kB / 31.48 MB, free: 0.6484 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006742/0.01723, allocations: 0.8697 MB / 32.35 MB, free: 7.5 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.01973, allocations: 2.416 MB / 34.77 MB, free: 6.008 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.02049, allocations: 0.6506 MB / 35.42 MB, free: 5.52 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.02092, allocations: 369.7 kB / 35.78 MB, free: 5.156 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/0.02129, allocations: 0.6016 MB / 36.38 MB, free: 4.426 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.02134, allocations: 38.81 kB / 36.42 MB, free: 4.379 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 3.377e-06/0.02135, allocations: 0.6562 kB / 36.42 MB, free: 4.379 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002839/0.02419, allocations: 1.41 MB / 37.83 MB, free: 2.941 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.02427, allocations: 208.2 kB / 38.03 MB, free: 2.691 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.02455, allocations: 318.2 kB / 38.34 MB, free: 2.371 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.0246, allocations: 37.7 kB / 38.38 MB, free: 2.328 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.02475, allocations: 348.2 kB / 38.72 MB, free: 1.992 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.02484, allocations: 134 kB / 38.85 MB, free: 1.863 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.02487, allocations: 17.73 kB / 38.87 MB, free: 1.852 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.02493, allocations: 346.8 kB / 39.21 MB, free: 1.504 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.02534, allocations: 312.9 kB / 39.51 MB, free: 1.199 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.02583, allocations: 449.3 kB / 39.95 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.0263, allocations: 384 kB / 40.33 MB, free: 320 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.02631, allocations: 0 / 40.33 MB, free: 320 kB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00761/0.03393, allocations: 1.068 MB / 41.39 MB, free: 6.328 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.03402, allocations: 84.56 kB / 41.48 MB, free: 6.266 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.03404, allocations: 3.781 kB / 41.48 MB, free: 6.266 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.03591, allocations: 428.8 kB / 41.9 MB, free: 6.258 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.03615, allocations: 79.84 kB / 41.98 MB, free: 6.258 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005983/0.03676, allocations: 0.7773 MB / 42.75 MB, free: 5.707 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.03706, allocations: 90.67 kB / 42.84 MB, free: 5.668 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.03713, allocations: 35.06 kB / 42.88 MB, free: 5.641 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.fed[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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.03754, allocations: 381.8 kB / 43.25 MB, free: 5.332 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.03761, allocations: 46.41 kB / 43.29 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.03886, allocations: 0.988 MB / 44.28 MB, free: 4.402 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.0389, allocations: 14.61 kB / 44.3 MB, free: 4.391 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.03891, allocations: 3.953 kB / 44.3 MB, free: 4.387 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.03892, allocations: 1.219 kB / 44.3 MB, free: 4.387 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.0407, allocations: 1.666 MB / 45.97 MB, free: 2.68 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.04072, allocations: 0 / 45.97 MB, free: 2.68 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.04088, allocations: 39.98 kB / 46.01 MB, free: 2.641 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008907/0.04178, allocations: 336.3 kB / 46.33 MB, free: 2.312 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.04183, allocations: 26.36 kB / 46.36 MB, free: 2.289 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004947/0.04233, allocations: 0.8037 MB / 47.16 MB, free: 1.473 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04234, allocations: 0 / 47.16 MB, free: 1.473 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007814/0.05016, allocations: 1.397 MB / 48.56 MB, free: 6.141 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.05028, allocations: 113.5 kB / 48.67 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.05037, allocations: 25.58 kB / 48.7 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.0506, allocations: 46.03 kB / 48.74 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.0508, allocations: 118.2 kB / 48.86 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.05085, allocations: 33.36 kB / 48.89 MB, free: 6.047 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001444/0.051, allocations: 187.6 kB / 49.07 MB, free: 5.969 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05101, allocations: 6.5 kB / 49.08 MB, free: 5.969 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000593/0.05161, allocations: 230.6 kB / 49.3 MB, free: 5.961 MB / 18.57 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: 14 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000273/0.05189, allocations: 208.3 kB / 49.51 MB, free: 5.863 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.05307, allocations: 0.9596 MB / 50.47 MB, free: 5.613 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.05308, allocations: 0 / 50.47 MB, free: 5.613 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.0537, allocations: 0.5567 MB / 51.02 MB, free: 5.16 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.05409, allocations: 59.64 kB / 51.08 MB, free: 5.109 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.05606, allocations: 1.64 MB / 52.72 MB, free: 3.621 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.05643, allocations: 1.015 MB / 53.74 MB, free: 2.59 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.05665, allocations: 129.6 kB / 53.86 MB, free: 2.469 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.05672, allocations: 35.42 kB / 53.9 MB, free: 2.438 MB / 18.57 MB Notification: Performance of SimCode: time 3.31e-07/0.05672, allocations: 0 / 53.9 MB, free: 2.438 MB / 18.57 MB Notification: Performance of Templates: time 0.0172/0.07393, allocations: 7.847 MB / 61.74 MB, free: 0.6953 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test9.makefile (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & ./ConPNlib_ConPNlib.Examples.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)