Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005056/0.005056, allocations: 1.37 MB / 16.62 MB, free: 5.098 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.596e-05, allocations: 0 / 23.66 MB, free: 3.77 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006623/0.0006933, allocations: 361.3 kB / 24.01 MB, free: 3.461 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.0009454/0.001647, allocations: 1.03 MB / 25.04 MB, free: 2.434 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.002534, allocations: 0.7122 MB / 25.75 MB, free: 1.719 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.002652, allocations: 0.625 kB / 25.75 MB, free: 1.719 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.002865, allocations: 67.52 kB / 25.82 MB, free: 1.652 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005247/0.003398, allocations: 232.8 kB / 26.05 MB, free: 1.426 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.764e-05/0.003487, allocations: 34.03 kB / 26.08 MB, free: 1.395 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.003759, allocations: 339 kB / 26.41 MB, free: 1.062 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.003951, allocations: 154.5 kB / 26.56 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.004047, allocations: 127.2 kB / 26.69 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.004184, allocations: 139.1 kB / 26.82 MB, free: 0.6445 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.00422, allocations: 12 kB / 26.83 MB, free: 0.6328 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.004449, allocations: 215.6 kB / 27.04 MB, free: 432 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.004524, allocations: 71.69 kB / 27.11 MB, free: 360 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.004617, allocations: 138.9 kB / 27.25 MB, free: 220 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.005092, allocations: 0.4946 MB / 27.74 MB, free: 4.363 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005105, allocations: 0 / 27.74 MB, free: 4.363 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005114, allocations: 4 kB / 27.75 MB, free: 4.359 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.005126, allocations: 0 / 27.75 MB, free: 4.359 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007467/0.005878, allocations: 0.6059 MB / 28.35 MB, free: 3.695 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.005915, allocations: 8.969 kB / 28.36 MB, free: 3.688 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.006011, allocations: 46.28 kB / 28.41 MB, free: 3.645 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.006355, allocations: 303.7 kB / 28.7 MB, free: 3.309 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.006402, allocations: 33.38 kB / 28.74 MB, free: 3.277 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.006469, allocations: 48.36 kB / 28.78 MB, free: 3.23 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.007387, allocations: 0.6408 MB / 29.43 MB, free: 2.57 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.007414, allocations: 4.125 kB / 29.43 MB, free: 2.566 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.007462, allocations: 25.7 kB / 29.45 MB, free: 2.539 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.652e-05/0.007545, allocations: 40.97 kB / 29.49 MB, free: 2.5 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.008224, allocations: 459.7 kB / 29.94 MB, free: 2.051 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.0101, allocations: 1.508 MB / 31.45 MB, free: 420 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.0105, allocations: 238.7 kB / 31.68 MB, free: 172 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005556/0.01607, allocations: 184.3 kB / 31.86 MB, free: 7.504 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.01648, allocations: 0.5887 MB / 32.45 MB, free: 6.848 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.01651, allocations: 36.7 kB / 32.49 MB, free: 6.809 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 3.256e-06/0.01652, allocations: 3.906 kB / 32.49 MB, free: 6.809 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.001002/0.01753, allocations: 0.5502 MB / 33.04 MB, free: 6.746 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.01761, allocations: 146.6 kB / 33.19 MB, free: 6.59 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.01782, allocations: 219.4 kB / 33.4 MB, free: 6.48 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01785, allocations: 34.67 kB / 33.43 MB, free: 6.449 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01799, allocations: 212.6 kB / 33.64 MB, free: 6.32 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.01804, allocations: 75.48 kB / 33.72 MB, free: 6.277 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.0181, allocations: 48.73 kB / 33.76 MB, free: 6.262 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.01817, allocations: 333.8 kB / 34.09 MB, free: 5.949 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.01841, allocations: 165.4 kB / 34.25 MB, free: 5.941 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.01869, allocations: 246 kB / 34.49 MB, free: 5.855 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.01913, allocations: 415 kB / 34.9 MB, free: 5.668 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01914, allocations: 0 / 34.9 MB, free: 5.668 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006844/0.01983, allocations: 0.5499 MB / 35.45 MB, free: 5.344 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.01989, allocations: 49.69 kB / 35.49 MB, free: 5.289 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.01991, allocations: 0 / 35.49 MB, free: 5.289 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.01994, allocations: 4 kB / 35.5 MB, free: 5.285 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.02012, allocations: 54.84 kB / 35.55 MB, free: 5.234 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.02014, allocations: 11.22 kB / 35.56 MB, free: 5.227 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.02029, allocations: 52.28 kB / 35.61 MB, free: 5.176 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.02034, allocations: 16 kB / 35.63 MB, free: 5.16 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (P1.emptying,$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002538/0.0206, allocations: 256.2 kB / 35.88 MB, free: 4.898 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.02066, allocations: 19.81 kB / 35.9 MB, free: 4.879 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007148/0.02138, allocations: 489.9 kB / 36.38 MB, free: 4.402 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.02141, allocations: 11.94 kB / 36.39 MB, free: 4.391 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02142, allocations: 0 / 36.39 MB, free: 4.391 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.02144, allocations: 3.984 kB / 36.39 MB, free: 4.387 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/0.02239, allocations: 0.9277 MB / 37.32 MB, free: 3.406 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.0224, allocations: 4 kB / 37.32 MB, free: 3.402 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.02254, allocations: 50.36 kB / 37.37 MB, free: 3.355 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.02255, allocations: 4 kB / 37.38 MB, free: 3.352 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.02258, allocations: 4 kB / 37.38 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02259, allocations: 0 / 37.38 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02259, allocations: 0 / 37.38 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/0.0234, allocations: 0.7366 MB / 38.12 MB, free: 2.59 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.02344, allocations: 96.83 kB / 38.21 MB, free: 2.477 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.02349, allocations: 19.11 kB / 38.23 MB, free: 2.461 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.02363, allocations: 24.05 kB / 38.26 MB, free: 2.438 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.02378, allocations: 67.92 kB / 38.32 MB, free: 2.371 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.02381, allocations: 8 kB / 38.33 MB, free: 2.363 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.048e-05/0.0239, allocations: 145.2 kB / 38.47 MB, free: 2.223 MB / 18.57 MB Notification: Performance of sort global known variables: time 1e-07/0.0239, allocations: 0 / 38.47 MB, free: 2.223 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004321/0.02434, allocations: 146 kB / 38.61 MB, free: 2.086 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002637/0.02461, allocations: 187.9 kB / 38.8 MB, free: 1.91 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.02523, allocations: 495.6 kB / 39.28 MB, free: 1.414 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02524, allocations: 3.828 kB / 39.28 MB, free: 1.414 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.02551, allocations: 275.2 kB / 39.55 MB, free: 1.133 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.02583, allocations: 40.67 kB / 39.59 MB, free: 1.094 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.02709, allocations: 0.9213 MB / 40.51 MB, free: 156 kB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006733/0.03384, allocations: 0.8445 MB / 41.36 MB, free: 5.664 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003092/0.03418, allocations: 111.6 kB / 41.47 MB, free: 5.656 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.0343, allocations: 47.94 kB / 41.51 MB, free: 5.648 MB / 18.57 MB Notification: Performance of SimCode: time 6.72e-07/0.03431, allocations: 0 / 41.51 MB, free: 5.648 MB / 18.57 MB Notification: Performance of Templates: time 0.006747/0.04106, allocations: 4.125 MB / 45.64 MB, free: 3.117 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)