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.00529/0.00529, allocations: 1.355 MB / 17.29 MB, free: 4.527 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.751e-05, allocations: 0 / 24.35 MB, free: 3.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006696/0.0007102, allocations: 366.8 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001386/0.002111, allocations: 1.524 MB / 26.24 MB, free: 1.246 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003714, allocations: 0.8878 MB / 27.13 MB, free: 364 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.004157, allocations: 7.938 kB / 27.13 MB, free: 356 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.004503, allocations: 114.4 kB / 27.24 MB, free: 244 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.005532, allocations: 319 kB / 27.56 MB, free: 4.566 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.005768, allocations: 55.94 kB / 27.61 MB, free: 4.512 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.006533, allocations: 0.5879 MB / 28.2 MB, free: 3.926 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.006951, allocations: 291.9 kB / 28.48 MB, free: 3.625 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.007343, allocations: 230.6 kB / 28.71 MB, free: 3.398 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.007732, allocations: 254.2 kB / 28.96 MB, free: 3.148 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.007826, allocations: 20 kB / 28.98 MB, free: 3.129 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.008255, allocations: 227.6 kB / 29.2 MB, free: 2.906 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.008448, allocations: 151.3 kB / 29.35 MB, free: 2.758 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.008752, allocations: 283.8 kB / 29.62 MB, free: 2.473 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.009477, allocations: 0.6163 MB / 30.24 MB, free: 1.855 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.009491, allocations: 0 / 30.24 MB, free: 1.855 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.593e-06/0.009498, allocations: 0 / 30.24 MB, free: 1.855 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.009528, allocations: 0 / 30.24 MB, free: 1.855 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.001275/0.01081, allocations: 0.8457 MB / 31.09 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.01086, allocations: 11.78 kB / 31.1 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.01108, allocations: 80.09 kB / 31.18 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.01174, allocations: 435.7 kB / 31.6 MB, free: 408 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/0.01183, allocations: 66.36 kB / 31.67 MB, free: 340 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.01198, allocations: 88.36 kB / 31.75 MB, free: 252 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009416/0.0214, allocations: 1.218 MB / 32.97 MB, free: 7.277 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.02149, allocations: 5.375 kB / 32.97 MB, free: 7.277 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.02163, allocations: 40.11 kB / 33.01 MB, free: 7.277 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.02178, allocations: 76.05 kB / 33.09 MB, free: 7.277 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.02323, allocations: 0.8805 MB / 33.97 MB, free: 6.973 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.02632, allocations: 2.42 MB / 36.39 MB, free: 4.508 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.02709, allocations: 0.6544 MB / 37.04 MB, free: 3.805 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.02758, allocations: 369.7 kB / 37.4 MB, free: 3.441 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.02794, allocations: 0.5957 MB / 38 MB, free: 2.719 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.02797, allocations: 38.88 kB / 38.04 MB, free: 2.672 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.665e-06/0.02798, allocations: 0 / 38.04 MB, free: 2.672 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002725/0.03071, allocations: 1.415 MB / 39.45 MB, free: 1.227 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.0308, allocations: 212.2 kB / 39.66 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.0311, allocations: 310.3 kB / 39.96 MB, free: 0.6602 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.03115, allocations: 41.69 kB / 40 MB, free: 0.6133 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.0314, allocations: 338.6 kB / 40.33 MB, free: 296 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.03152, allocations: 137.6 kB / 40.47 MB, free: 160 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.03156, allocations: 18.81 kB / 40.49 MB, free: 144 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.006868/0.03844, allocations: 342.8 kB / 40.82 MB, free: 5.836 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.03908, allocations: 312.7 kB / 41.13 MB, free: 5.836 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.03969, allocations: 458.4 kB / 41.58 MB, free: 5.684 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.04062, allocations: 0.7825 MB / 42.36 MB, free: 5.43 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.04064, allocations: 1.25 kB / 42.36 MB, free: 5.43 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001462/0.0421, allocations: 1.065 MB / 43.42 MB, free: 5.105 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.04218, allocations: 84.05 kB / 43.51 MB, free: 5.035 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.0422, allocations: 7.438 kB / 43.51 MB, free: 5.035 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.04398, allocations: 437.8 kB / 43.94 MB, free: 4.832 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.0442, allocations: 74.39 kB / 44.01 MB, free: 4.77 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005424/0.04475, allocations: 0.7736 MB / 44.79 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.04505, allocations: 96.42 kB / 44.88 MB, free: 3.926 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.04513, allocations: 35.98 kB / 44.92 MB, free: 3.891 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 (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.0004161/0.04555, allocations: 378.9 kB / 45.29 MB, free: 3.5 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.04563, allocations: 42.16 kB / 45.33 MB, free: 3.473 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.04691, allocations: 0.9878 MB / 46.32 MB, free: 2.473 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.04695, allocations: 15.98 kB / 46.33 MB, free: 2.457 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.04696, allocations: 0 / 46.33 MB, free: 2.457 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.04698, allocations: 3.984 kB / 46.33 MB, free: 2.453 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.04884, allocations: 1.656 MB / 47.99 MB, free: 0.7539 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.04885, allocations: 0 / 47.99 MB, free: 0.7539 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.04901, allocations: 47.97 kB / 48.04 MB, free: 0.707 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007889/0.05691, allocations: 331.7 kB / 48.36 MB, free: 5.434 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.0571, allocations: 16.05 kB / 48.38 MB, free: 5.434 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007329/0.05785, allocations: 0.8099 MB / 49.19 MB, free: 4.918 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.05787, allocations: 0 / 49.19 MB, free: 4.918 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.06, allocations: 1.407 MB / 50.59 MB, free: 4.715 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.06013, allocations: 114 kB / 50.71 MB, free: 4.621 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.06023, allocations: 23.92 kB / 50.73 MB, free: 4.621 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.06047, allocations: 51.34 kB / 50.78 MB, free: 4.621 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/0.06072, allocations: 112.2 kB / 50.89 MB, free: 4.617 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.06079, allocations: 27.06 kB / 50.91 MB, free: 4.613 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002008/0.061, allocations: 197.9 kB / 51.11 MB, free: 4.504 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.41e-07/0.061, allocations: 0 / 51.11 MB, free: 4.504 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007251/0.06174, allocations: 240.1 kB / 51.34 MB, free: 4.469 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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003668/0.06211, allocations: 201.5 kB / 51.54 MB, free: 4.367 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.06353, allocations: 0.9619 MB / 52.5 MB, free: 3.836 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.06355, allocations: 0 / 52.5 MB, free: 3.836 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006163/0.06417, allocations: 0.546 MB / 53.05 MB, free: 3.332 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.0646, allocations: 67.42 kB / 53.11 MB, free: 3.281 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.0669, allocations: 1.71 MB / 54.82 MB, free: 1.582 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.06741, allocations: 0.9927 MB / 55.82 MB, free: 6.957 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.06754, allocations: 59.33 kB / 55.87 MB, free: 6.902 MB / 24.96 MB Notification: Performance of SimCode: time 4.51e-07/0.06755, allocations: 0 / 55.87 MB, free: 6.902 MB / 24.96 MB Notification: Performance of Templates: time 0.02699/0.09455, allocations: 11.58 MB / 67.45 MB, free: 8.207 MB / 24.96 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)