Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005153/0.005153, allocations: 1.36 MB / 17.3 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.264e-05, allocations: 0 / 24.36 MB, free: 3.102 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000308/0.0003362, allocations: 360.3 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001091/0.001435, allocations: 1.524 MB / 26.23 MB, free: 1.246 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.002468, allocations: 0.8945 MB / 27.13 MB, free: 360 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.002618, allocations: 7.938 kB / 27.13 MB, free: 352 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.00282, allocations: 111.2 kB / 27.24 MB, free: 240 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.003454, allocations: 314.9 kB / 27.55 MB, free: 4.57 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.003578, allocations: 51.94 kB / 27.6 MB, free: 4.52 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.004107, allocations: 0.583 MB / 28.18 MB, free: 3.938 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.004452, allocations: 300.9 kB / 28.48 MB, free: 3.625 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.004652, allocations: 226.6 kB / 28.7 MB, free: 3.402 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.004903, allocations: 254.2 kB / 28.95 MB, free: 3.152 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.00496, allocations: 20 kB / 28.97 MB, free: 3.133 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.005312, allocations: 231.6 kB / 29.19 MB, free: 2.906 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.005467, allocations: 155.3 kB / 29.35 MB, free: 2.754 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.005686, allocations: 283.8 kB / 29.62 MB, free: 2.469 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.006247, allocations: 0.6124 MB / 30.23 MB, free: 1.855 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006257, allocations: 0 / 30.23 MB, free: 1.855 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006262, allocations: 0 / 30.23 MB, free: 1.855 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.006274, allocations: 0 / 30.23 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.0009462/0.007225, allocations: 0.8463 MB / 31.08 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.007273, allocations: 8.312 kB / 31.09 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.007396, allocations: 80.09 kB / 31.17 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.007907, allocations: 435.7 kB / 31.59 MB, free: 408 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.007975, allocations: 66.36 kB / 31.66 MB, free: 340 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.008095, allocations: 92.34 kB / 31.75 MB, free: 248 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006409/0.01451, allocations: 1.217 MB / 32.96 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.01455, allocations: 7.031 kB / 32.97 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.01462, allocations: 39.95 kB / 33.01 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.313e-05/0.01472, allocations: 78.23 kB / 33.09 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.01583, allocations: 0.8754 MB / 33.96 MB, free: 6.992 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.01803, allocations: 2.426 MB / 36.39 MB, free: 4.504 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.01871, allocations: 0.5807 MB / 36.97 MB, free: 3.895 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.01911, allocations: 377.3 kB / 37.34 MB, free: 3.523 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.01963, allocations: 1.036 MB / 38.37 MB, free: 2.27 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.01966, allocations: 34.89 kB / 38.41 MB, free: 2.227 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.01967, allocations: 0 / 38.41 MB, free: 2.227 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.002739/0.02241, allocations: 1.433 MB / 39.84 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.02249, allocations: 223.8 kB / 40.06 MB, free: 0.5 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.02272, allocations: 318 kB / 40.37 MB, free: 192 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.02276, allocations: 37.7 kB / 40.41 MB, free: 148 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.005337/0.0281, allocations: 328.2 kB / 40.73 MB, free: 6.309 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.02822, allocations: 140.5 kB / 40.86 MB, free: 6.227 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.02826, allocations: 16.41 kB / 40.88 MB, free: 6.227 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.02833, allocations: 348.3 kB / 41.22 MB, free: 5.914 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.02877, allocations: 312.7 kB / 41.53 MB, free: 5.914 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.02924, allocations: 456.9 kB / 41.97 MB, free: 5.77 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/0.03002, allocations: 0.7764 MB / 42.75 MB, free: 5.508 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.03004, allocations: 2.469 kB / 42.75 MB, free: 5.508 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001299/0.03134, allocations: 1.072 MB / 43.82 MB, free: 5.105 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.03141, allocations: 88.2 kB / 43.91 MB, free: 5.027 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.03142, allocations: 4.344 kB / 43.91 MB, free: 5.027 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.03315, allocations: 436.9 kB / 44.34 MB, free: 4.66 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.03338, allocations: 84.48 kB / 44.42 MB, free: 4.578 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005127/0.0339, allocations: 0.7777 MB / 45.2 MB, free: 3.781 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.03416, allocations: 91.39 kB / 45.29 MB, free: 3.691 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.03422, allocations: 36.77 kB / 45.33 MB, free: 3.656 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0003424/0.03457, allocations: 388.9 kB / 45.71 MB, free: 3.258 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.03464, allocations: 39.56 kB / 45.74 MB, free: 3.219 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.03607, allocations: 1.036 MB / 46.78 MB, free: 2.168 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/0.03612, allocations: 17.39 kB / 46.8 MB, free: 2.152 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.03613, allocations: 0 / 46.8 MB, free: 2.152 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.03614, allocations: 9.484 kB / 46.81 MB, free: 2.145 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007279/0.04343, allocations: 1.663 MB / 48.47 MB, free: 5.473 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.04345, allocations: 1.25 kB / 48.47 MB, free: 5.473 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.04368, allocations: 46.8 kB / 48.52 MB, free: 5.473 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.04478, allocations: 341.2 kB / 48.85 MB, free: 5.465 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.04484, allocations: 23.59 kB / 48.87 MB, free: 5.465 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005495/0.04539, allocations: 0.8041 MB / 49.68 MB, free: 4.949 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0454, allocations: 3.75 kB / 49.68 MB, free: 4.949 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.04703, allocations: 1.424 MB / 51.1 MB, free: 4.668 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.04709, allocations: 115.9 kB / 51.22 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.04717, allocations: 22.92 kB / 51.24 MB, free: 4.562 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.04739, allocations: 50.89 kB / 51.29 MB, free: 4.559 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.04759, allocations: 122.8 kB / 51.41 MB, free: 4.527 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.04764, allocations: 24.95 kB / 51.43 MB, free: 4.523 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001275/0.04777, allocations: 192.1 kB / 51.62 MB, free: 4.418 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.7e-07/0.04778, allocations: 0 / 51.62 MB, free: 4.418 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000496/0.04828, allocations: 248.1 kB / 51.86 MB, free: 4.363 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 (30): * Single equations (assignments): 27 * 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.0002601/0.04855, allocations: 195.3 kB / 52.05 MB, free: 4.188 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.04968, allocations: 0.9726 MB / 53.03 MB, free: 3.254 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.0497, allocations: 0 / 53.03 MB, free: 3.254 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.05026, allocations: 0.5673 MB / 53.59 MB, free: 2.676 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.05063, allocations: 52.84 kB / 53.65 MB, free: 2.621 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.05243, allocations: 1.713 MB / 55.36 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005952/0.0584, allocations: 0.9914 MB / 56.35 MB, free: 4.543 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.05852, allocations: 50.16 kB / 56.4 MB, free: 4.543 MB / 18.57 MB Notification: Performance of SimCode: time 3.71e-07/0.05852, allocations: 0.9375 kB / 56.4 MB, free: 4.543 MB / 18.57 MB Notification: Performance of Templates: time 0.01694/0.07547, allocations: 11.7 MB / 68.1 MB, free: 1.238 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test11.makefile (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & ./ConPNlib_ConPNlib.Examples.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)