Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005148/0.005148, allocations: 1.364 MB / 16.61 MB, free: 5.152 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.354e-05, allocations: 0 / 23.66 MB, free: 3.801 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004151/0.0004441, allocations: 364.5 kB / 24.01 MB, free: 3.48 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.001164/0.001616, allocations: 1.791 MB / 25.81 MB, free: 1.688 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002752, allocations: 1.003 MB / 26.81 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.002939, allocations: 9.188 kB / 26.82 MB, free: 0.6758 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.003208, allocations: 135.1 kB / 26.95 MB, free: 0.543 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.003849, allocations: 345.4 kB / 27.29 MB, free: 212 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.003987, allocations: 79.92 kB / 27.36 MB, free: 132 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0005816/0.004577, allocations: 0.7361 MB / 28.1 MB, free: 4.035 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.00499, allocations: 411.9 kB / 28.5 MB, free: 3.617 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.005231, allocations: 290.2 kB / 28.79 MB, free: 3.332 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.005496, allocations: 309.8 kB / 29.09 MB, free: 3.027 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.005563, allocations: 28 kB / 29.12 MB, free: 3 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.005874, allocations: 223.6 kB / 29.33 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.006031, allocations: 175.2 kB / 29.51 MB, free: 2.609 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.006262, allocations: 325.5 kB / 29.82 MB, free: 2.289 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.007048, allocations: 0.9111 MB / 30.73 MB, free: 1.375 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.007062, allocations: 4 kB / 30.74 MB, free: 1.371 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00707, allocations: 4 kB / 30.74 MB, free: 1.367 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.007083, allocations: 0 / 30.74 MB, free: 1.367 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.001037/0.008126, allocations: 0.9638 MB / 31.71 MB, free: 344 kB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.008181, allocations: 12.31 kB / 31.72 MB, free: 332 kB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.008342, allocations: 99.81 kB / 31.82 MB, free: 232 kB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/0.01342, allocations: 484.7 kB / 32.29 MB, free: 7.207 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.01351, allocations: 81.97 kB / 32.37 MB, free: 7.203 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.01362, allocations: 115 kB / 32.48 MB, free: 7.203 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.01528, allocations: 1.487 MB / 33.97 MB, free: 6.691 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.01532, allocations: 0.9375 kB / 33.97 MB, free: 6.691 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.01539, allocations: 50.45 kB / 34.02 MB, free: 6.664 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.0155, allocations: 98.58 kB / 34.12 MB, free: 6.602 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.01669, allocations: 1.077 MB / 35.19 MB, free: 5.523 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.01918, allocations: 2.89 MB / 38.08 MB, free: 2.543 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.01995, allocations: 0.761 MB / 38.84 MB, free: 1.73 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.02039, allocations: 455.3 kB / 39.29 MB, free: 1.285 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/0.0208, allocations: 0.8587 MB / 40.15 MB, free: 248 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.02084, allocations: 38.94 kB / 40.18 MB, free: 200 kB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 2.384e-06/0.02084, allocations: 0 / 40.18 MB, free: 200 kB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.008202/0.02905, allocations: 1.714 MB / 41.9 MB, free: 6.211 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/0.02919, allocations: 247.6 kB / 42.14 MB, free: 5.961 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.02958, allocations: 359.1 kB / 42.49 MB, free: 5.848 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.02963, allocations: 38.06 kB / 42.53 MB, free: 5.812 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.02985, allocations: 399.7 kB / 42.92 MB, free: 5.543 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.02996, allocations: 167.7 kB / 43.08 MB, free: 5.422 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.03005, allocations: 98.36 kB / 43.18 MB, free: 5.379 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.03012, allocations: 359.7 kB / 43.53 MB, free: 5.047 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.03059, allocations: 375.7 kB / 43.9 MB, free: 4.895 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.03111, allocations: 0.5331 MB / 44.43 MB, free: 4.438 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.03195, allocations: 0.9739 MB / 45.4 MB, free: 3.383 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.03197, allocations: 4 kB / 45.41 MB, free: 3.379 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00145/0.03342, allocations: 1.299 MB / 46.71 MB, free: 2.055 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.0335, allocations: 121.2 kB / 46.83 MB, free: 1.918 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.03352, allocations: 4 kB / 46.83 MB, free: 1.914 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.03517, allocations: 465.4 kB / 47.28 MB, free: 1.461 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.0354, allocations: 83.84 kB / 47.37 MB, free: 1.379 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006506/0.03606, allocations: 0.8904 MB / 48.26 MB, free: 476 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.03636, allocations: 110.7 kB / 48.36 MB, free: 368 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.03643, allocations: 39.98 kB / 48.4 MB, free: 328 kB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 (P2.feeding,$PRE.P2.fireIn[1],P3.feeding,$PRE.P3.fireIn[1],P1.outTransition[2].arcType,P1.outTransition[1].arcType,T2.activation.emptied[1],T3.activation.emptied[1],T3.activation.arcType[1],T2.activation.arcType[1],P3.fireIn[1],P2.fireIn[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.fed[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.00689/0.04333, allocations: 464.8 kB / 48.86 MB, free: 5.355 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.04345, allocations: 44.72 kB / 48.9 MB, free: 5.355 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.04504, allocations: 1.234 MB / 50.13 MB, free: 5.207 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.04508, allocations: 11.25 kB / 50.15 MB, free: 5.207 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.04509, allocations: 1.344 kB / 50.15 MB, free: 5.207 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.0451, allocations: 8.766 kB / 50.16 MB, free: 5.207 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.04722, allocations: 2.003 MB / 52.16 MB, free: 4.07 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.04724, allocations: 0 / 52.16 MB, free: 4.07 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.04741, allocations: 47.91 kB / 52.2 MB, free: 4.023 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009225/0.04834, allocations: 387.7 kB / 52.58 MB, free: 3.66 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.0484, allocations: 26.95 kB / 52.61 MB, free: 3.637 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000694/0.0491, allocations: 0.929 MB / 53.54 MB, free: 2.691 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.04912, allocations: 4.031 kB / 53.54 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.05102, allocations: 1.722 MB / 55.26 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.05108, allocations: 119.3 kB / 55.38 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.05116, allocations: 33.77 kB / 55.41 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.05139, allocations: 48.44 kB / 55.46 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.0516, allocations: 152.2 kB / 55.61 MB, free: 0.6289 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.05166, allocations: 29.62 kB / 55.64 MB, free: 0.6016 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001401/0.05181, allocations: 221.9 kB / 55.86 MB, free: 392 kB / 18.57 MB Notification: Performance of sort global known variables: time 1.6e-07/0.05181, allocations: 0 / 55.86 MB, free: 392 kB / 18.57 MB Notification: Performance of remove unused functions: time 0.006184/0.058, allocations: 272.2 kB / 56.12 MB, free: 5.195 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.05831, allocations: 210.3 kB / 56.33 MB, free: 5.102 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.05966, allocations: 1.189 MB / 57.52 MB, free: 4.91 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.05967, allocations: 0 / 57.52 MB, free: 4.91 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.06033, allocations: 0.6938 MB / 58.21 MB, free: 4.637 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.06072, allocations: 68.91 kB / 58.28 MB, free: 4.605 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.06272, allocations: 2.051 MB / 60.33 MB, free: 3.285 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.06316, allocations: 1.098 MB / 61.43 MB, free: 8.625 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.0634, allocations: 147.7 kB / 61.57 MB, free: 8.488 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.06347, allocations: 47.42 kB / 61.62 MB, free: 8.441 MB / 24.96 MB Notification: Performance of SimCode: time 3.7e-07/0.06348, allocations: 0 / 61.62 MB, free: 8.441 MB / 24.96 MB Notification: Performance of Templates: time 0.02028/0.08376, allocations: 9.641 MB / 71.26 MB, free: 9.871 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)