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.009826/0.009826, allocations: 1.37 MB / 16.65 MB, free: 5.164 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.375e-05, allocations: 2.062 kB / 23.7 MB, free: 3.734 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000567/0.0005966, allocations: 371.4 kB / 24.06 MB, free: 3.414 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001124/0.001729, allocations: 1.519 MB / 25.58 MB, free: 1.895 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003072, allocations: 0.8947 MB / 26.48 MB, free: 1 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.003268, allocations: 7.938 kB / 26.49 MB, free: 0.9922 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.003521, allocations: 111.2 kB / 26.59 MB, free: 0.8828 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006707/0.004201, allocations: 316.2 kB / 26.9 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.004321, allocations: 59.94 kB / 26.96 MB, free: 0.5156 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.004742, allocations: 0.5764 MB / 27.54 MB, free: 4.582 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.005099, allocations: 302.2 kB / 27.83 MB, free: 4.273 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.005305, allocations: 226.6 kB / 28.05 MB, free: 4.051 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.005551, allocations: 254.2 kB / 28.3 MB, free: 3.801 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.005612, allocations: 20 kB / 28.32 MB, free: 3.781 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.005956, allocations: 231.6 kB / 28.55 MB, free: 3.555 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.006109, allocations: 151.3 kB / 28.7 MB, free: 3.406 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.006352, allocations: 283.8 kB / 28.97 MB, free: 3.121 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000739/0.007098, allocations: 0.7865 MB / 29.76 MB, free: 2.332 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.007114, allocations: 4 kB / 29.76 MB, free: 2.328 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00712, allocations: 0 / 29.76 MB, free: 2.328 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.007133, allocations: 0 / 29.76 MB, free: 2.328 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.0009031/0.008041, allocations: 0.8459 MB / 30.61 MB, free: 1.422 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.008079, allocations: 12.97 kB / 30.62 MB, free: 1.41 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.0082, allocations: 76.09 kB / 30.7 MB, free: 1.336 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.0087, allocations: 431.8 kB / 31.12 MB, free: 0.875 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.008775, allocations: 70.36 kB / 31.19 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.008892, allocations: 88.36 kB / 31.27 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006707/0.01561, allocations: 1.219 MB / 32.49 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.01565, allocations: 4.375 kB / 32.5 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.01573, allocations: 38.97 kB / 32.53 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.01584, allocations: 79.72 kB / 32.61 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.01695, allocations: 0.8804 MB / 33.49 MB, free: 6.898 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.01933, allocations: 2.423 MB / 35.92 MB, free: 4.855 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.02007, allocations: 0.6466 MB / 36.56 MB, free: 4.16 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.02049, allocations: 373.5 kB / 36.93 MB, free: 3.797 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/0.02083, allocations: 0.603 MB / 37.53 MB, free: 3.07 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.02086, allocations: 38.88 kB / 37.57 MB, free: 3.023 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.083e-06/0.02086, allocations: 0 / 37.57 MB, free: 3.023 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002691/0.02356, allocations: 1.414 MB / 38.98 MB, free: 1.578 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.02364, allocations: 212.2 kB / 39.19 MB, free: 1.324 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.02388, allocations: 310.3 kB / 39.49 MB, free: 1.012 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.02392, allocations: 37.7 kB / 39.53 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.02406, allocations: 344 kB / 39.87 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/0.02415, allocations: 138.1 kB / 40 MB, free: 0.5078 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.02418, allocations: 12 kB / 40.01 MB, free: 0.4961 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.02424, allocations: 346.8 kB / 40.35 MB, free: 152 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006158/0.0304, allocations: 312.2 kB / 40.66 MB, free: 6.078 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.03097, allocations: 454.7 kB / 41.1 MB, free: 5.926 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.03178, allocations: 0.7796 MB / 41.88 MB, free: 5.672 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.0318, allocations: 1.094 kB / 41.88 MB, free: 5.672 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00135/0.03315, allocations: 1.068 MB / 42.95 MB, free: 5.395 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.03322, allocations: 89.02 kB / 43.03 MB, free: 5.305 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.03324, allocations: 7.656 kB / 43.04 MB, free: 5.301 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.03505, allocations: 434.8 kB / 43.47 MB, free: 4.977 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.03527, allocations: 73.53 kB / 43.54 MB, free: 4.91 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/0.03578, allocations: 0.7797 MB / 44.32 MB, free: 4.117 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.03605, allocations: 86.08 kB / 44.4 MB, free: 4.059 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.03612, allocations: 35.98 kB / 44.44 MB, free: 4.023 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.0003777/0.0365, allocations: 385.1 kB / 44.81 MB, free: 3.629 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.03658, allocations: 41.97 kB / 44.85 MB, free: 3.605 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.03785, allocations: 0.9923 MB / 45.85 MB, free: 2.602 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.03789, allocations: 11.98 kB / 45.86 MB, free: 2.59 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.0379, allocations: 0 / 45.86 MB, free: 2.59 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.03791, allocations: 0 / 45.86 MB, free: 2.59 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.03964, allocations: 1.659 MB / 47.52 MB, free: 0.8867 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.03966, allocations: 4 kB / 47.52 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.03982, allocations: 35.98 kB / 47.56 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006855/0.04668, allocations: 340.7 kB / 47.89 MB, free: 5.688 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.04676, allocations: 20.23 kB / 47.91 MB, free: 5.688 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005782/0.04734, allocations: 0.8045 MB / 48.71 MB, free: 5.172 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.04736, allocations: 0 / 48.71 MB, free: 5.172 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.04902, allocations: 1.409 MB / 50.12 MB, free: 4.969 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.04908, allocations: 115.4 kB / 50.24 MB, free: 4.875 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.04915, allocations: 24.77 kB / 50.26 MB, free: 4.875 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.04938, allocations: 51.27 kB / 50.31 MB, free: 4.875 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.04958, allocations: 112.2 kB / 50.42 MB, free: 4.875 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.04964, allocations: 22.7 kB / 50.44 MB, free: 4.875 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001442/0.04979, allocations: 202.2 kB / 50.64 MB, free: 4.766 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04979, allocations: 0 / 50.64 MB, free: 4.766 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005014/0.0503, allocations: 236 kB / 50.87 MB, free: 4.73 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.0002562/0.05056, allocations: 204.3 kB / 51.07 MB, free: 4.559 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.0517, allocations: 0.9623 MB / 52.03 MB, free: 3.719 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.05171, allocations: 0 / 52.03 MB, free: 3.719 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.05229, allocations: 0.5596 MB / 52.59 MB, free: 3.145 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.05268, allocations: 58.88 kB / 52.65 MB, free: 3.09 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.05449, allocations: 1.693 MB / 54.34 MB, free: 1.383 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.05485, allocations: 1.02 MB / 55.36 MB, free: 348 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.05512, allocations: 130.2 kB / 55.49 MB, free: 220 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.05519, allocations: 38.05 kB / 55.53 MB, free: 188 kB / 18.57 MB Notification: Performance of SimCode: time 5.01e-07/0.0552, allocations: 0 / 55.53 MB, free: 188 kB / 18.57 MB Notification: Performance of Templates: time 0.01817/0.07338, allocations: 8.03 MB / 63.56 MB, free: 4.805 MB / 24.77 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)