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.01704/0.01704, allocations: 1.36 MB / 16.31 MB, free: 5.352 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.555e-05, allocations: 0 / 23.21 MB, free: 4.039 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007293/0.0007676, allocations: 361.5 kB / 23.56 MB, free: 3.883 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.00184/0.002622, allocations: 1.457 MB / 25.02 MB, free: 2.617 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.004459, allocations: 0.8495 MB / 25.87 MB, free: 1.77 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.004772, allocations: 11.88 kB / 25.88 MB, free: 1.758 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.005145, allocations: 132.5 kB / 26.01 MB, free: 1.629 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.006315, allocations: 326.4 kB / 26.33 MB, free: 1.312 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.006585, allocations: 63.91 kB / 26.39 MB, free: 1.25 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.007115, allocations: 387.1 kB / 26.77 MB, free: 0.8711 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.007545, allocations: 266.1 kB / 27.03 MB, free: 0.5898 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.007779, allocations: 206.8 kB / 27.23 MB, free: 396 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.00804, allocations: 234.6 kB / 27.46 MB, free: 160 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.008124, allocations: 28 kB / 27.49 MB, free: 132 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.008574, allocations: 191.6 kB / 27.68 MB, free: 4.586 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.008777, allocations: 127.5 kB / 27.8 MB, free: 4.461 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.008938, allocations: 121.3 kB / 27.92 MB, free: 4.336 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0009679/0.009916, allocations: 0.6161 MB / 28.53 MB, free: 3.719 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.009934, allocations: 0 / 28.53 MB, free: 3.719 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.994e-06/0.009945, allocations: 0 / 28.53 MB, free: 3.719 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.009961, allocations: 0 / 28.53 MB, free: 3.719 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.001476/0.01145, allocations: 0.8419 MB / 29.38 MB, free: 2.816 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.0115, allocations: 8.297 kB / 29.38 MB, free: 2.809 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.01174, allocations: 84.02 kB / 29.47 MB, free: 2.727 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.01262, allocations: 427.8 kB / 29.88 MB, free: 2.27 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.01274, allocations: 66.33 kB / 29.95 MB, free: 2.203 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.01296, allocations: 88.33 kB / 30.04 MB, free: 2.117 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.01605, allocations: 1.215 MB / 31.25 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.01612, allocations: 176 / 31.25 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.01626, allocations: 36.33 kB / 31.29 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/0.0165, allocations: 85.89 kB / 31.37 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.03017, allocations: 0.8732 MB / 32.24 MB, free: 6.57 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.03445, allocations: 2.419 MB / 34.66 MB, free: 5.406 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.03576, allocations: 0.6492 MB / 35.31 MB, free: 5.094 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.03628, allocations: 0.5992 MB / 35.91 MB, free: 4.41 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.03632, allocations: 38.47 kB / 35.95 MB, free: 4.367 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 4.118e-06/0.03633, allocations: 0 / 35.95 MB, free: 4.367 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.005761/0.0421, allocations: 1.562 MB / 37.51 MB, free: 2.922 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.04232, allocations: 220.2 kB / 37.72 MB, free: 2.664 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.04298, allocations: 310.3 kB / 38.03 MB, free: 2.352 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.04311, allocations: 41.7 kB / 38.07 MB, free: 2.305 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.04348, allocations: 336.6 kB / 38.4 MB, free: 1.984 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.04373, allocations: 134.6 kB / 38.53 MB, free: 1.855 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.04383, allocations: 18.58 kB / 38.55 MB, free: 1.84 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.04397, allocations: 346.8 kB / 38.89 MB, free: 1.492 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.04545, allocations: 312.9 kB / 39.19 MB, free: 1.188 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.04686, allocations: 449.3 kB / 39.63 MB, free: 0.6875 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.04831, allocations: 379.8 kB / 40 MB, free: 316 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.04835, allocations: 0 / 40 MB, free: 316 kB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.02193/0.0703, allocations: 1.071 MB / 41.07 MB, free: 5.562 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.07049, allocations: 85.47 kB / 41.16 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.07053, allocations: 3 kB / 41.16 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005603/0.07616, allocations: 434 kB / 41.58 MB, free: 5.492 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.07685, allocations: 72.62 kB / 41.65 MB, free: 5.492 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.07834, allocations: 0.7778 MB / 42.43 MB, free: 4.977 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/0.07916, allocations: 91.05 kB / 42.52 MB, free: 4.977 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.07932, allocations: 34.89 kB / 42.55 MB, free: 4.977 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.0008863/0.08023, allocations: 383.5 kB / 42.93 MB, free: 4.781 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.0804, allocations: 41.42 kB / 42.97 MB, free: 4.762 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.08407, allocations: 0.9906 MB / 43.96 MB, free: 4.09 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.188e-05/0.08419, allocations: 8 kB / 43.97 MB, free: 4.082 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.08422, allocations: 3.953 kB / 43.97 MB, free: 4.078 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.08425, allocations: 6.984 kB / 43.98 MB, free: 4.074 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/0.08968, allocations: 1.654 MB / 45.63 MB, free: 2.395 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.08975, allocations: 0 / 45.63 MB, free: 2.395 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.09033, allocations: 55.59 kB / 45.69 MB, free: 2.348 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.09321, allocations: 334.9 kB / 46.01 MB, free: 2.02 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.0934, allocations: 19.94 kB / 46.03 MB, free: 2 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.09498, allocations: 0.806 MB / 46.84 MB, free: 1.184 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.09502, allocations: 0 / 46.84 MB, free: 1.184 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/0.1144, allocations: 1.396 MB / 48.23 MB, free: 5.484 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1145, allocations: 123.8 kB / 48.36 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.1147, allocations: 18.72 kB / 48.37 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.1151, allocations: 51.16 kB / 48.42 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.1154, allocations: 111.6 kB / 48.53 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.1155, allocations: 27.22 kB / 48.56 MB, free: 5.391 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002668/0.1158, allocations: 188.6 kB / 48.74 MB, free: 5.312 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1158, allocations: 0 / 48.74 MB, free: 5.312 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008555/0.1167, allocations: 237.3 kB / 48.98 MB, free: 5.301 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.0004341/0.1171, allocations: 205.7 kB / 49.18 MB, free: 5.207 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.1193, allocations: 0.961 MB / 50.14 MB, free: 5.074 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1193, allocations: 0 / 50.14 MB, free: 5.074 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.1204, allocations: 0.5595 MB / 50.7 MB, free: 4.715 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1208, allocations: 39.95 kB / 50.74 MB, free: 4.676 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.1238, allocations: 1.6 MB / 52.34 MB, free: 3.152 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.1245, allocations: 1.027 MB / 53.36 MB, free: 8.492 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.125, allocations: 125.6 kB / 53.49 MB, free: 8.375 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1251, allocations: 47.08 kB / 53.53 MB, free: 8.336 MB / 24.96 MB Notification: Performance of SimCode: time 6.81e-07/0.1251, allocations: 0 / 53.53 MB, free: 8.336 MB / 24.96 MB Notification: Performance of Templates: time 0.04145/0.1666, allocations: 7.834 MB / 61.37 MB, free: 10.75 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)