Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008796/0.008796, allocations: 1.363 MB / 17.27 MB, free: 4.559 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.44e-05, allocations: 4 kB / 24.32 MB, free: 3.156 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003594/0.0003927, allocations: 357.5 kB / 24.67 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.001032/0.001443, allocations: 0.7491 MB / 25.42 MB, free: 2.078 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.00283, allocations: 0.604 MB / 26.03 MB, free: 1.473 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.00296, allocations: 4 kB / 26.03 MB, free: 1.469 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.003189, allocations: 47.66 kB / 26.08 MB, free: 1.422 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.003918, allocations: 187.4 kB / 26.26 MB, free: 1.242 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.004039, allocations: 23.98 kB / 26.28 MB, free: 1.219 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.004317, allocations: 215.4 kB / 26.49 MB, free: 1.008 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.004495, allocations: 77.3 kB / 26.57 MB, free: 0.9297 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.004619, allocations: 83.5 kB / 26.65 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.004761, allocations: 87.38 kB / 26.74 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.004808, allocations: 4 kB / 26.74 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.005106, allocations: 139.7 kB / 26.88 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.005185, allocations: 47.78 kB / 26.92 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.005278, allocations: 71.53 kB / 26.99 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.005649, allocations: 283.2 kB / 27.27 MB, free: 232 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00567, allocations: 0 / 27.27 MB, free: 232 kB / 13.93 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005683, allocations: 0 / 27.27 MB, free: 232 kB / 13.93 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005697, allocations: 0 / 27.27 MB, free: 232 kB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006424/0.00635, allocations: 493.1 kB / 27.75 MB, free: 4.336 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.006409, allocations: 12.31 kB / 27.76 MB, free: 4.324 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.006514, allocations: 24.66 kB / 27.79 MB, free: 4.301 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.006894, allocations: 244 kB / 28.02 MB, free: 4.023 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.006947, allocations: 12.94 kB / 28.04 MB, free: 4.012 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.007023, allocations: 24.38 kB / 28.06 MB, free: 3.988 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.007886, allocations: 348.8 kB / 28.4 MB, free: 3.633 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007919, allocations: 5.969 kB / 28.41 MB, free: 3.629 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.007963, allocations: 7.938 kB / 28.42 MB, free: 3.621 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.008029, allocations: 20.44 kB / 28.44 MB, free: 3.602 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.00864, allocations: 233.5 kB / 28.66 MB, free: 3.375 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01016, allocations: 0.9066 MB / 29.57 MB, free: 2.371 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.01054, allocations: 142.4 kB / 29.71 MB, free: 2.223 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.01078, allocations: 84.81 kB / 29.79 MB, free: 2.137 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/0.01123, allocations: 433.5 kB / 30.22 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.01128, allocations: 46.5 kB / 30.26 MB, free: 1.566 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 2.013e-06/0.01129, allocations: 0 / 30.26 MB, free: 1.566 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0008843/0.01218, allocations: 303.7 kB / 30.56 MB, free: 1.258 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.01227, allocations: 106.8 kB / 30.66 MB, free: 1.129 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.01247, allocations: 158.7 kB / 30.82 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.01251, allocations: 25.7 kB / 30.84 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01263, allocations: 152 kB / 30.99 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.0127, allocations: 43.45 kB / 31.03 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.01278, allocations: 25.7 kB / 31.06 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01292, allocations: 326.8 kB / 31.38 MB, free: 384 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.01316, allocations: 80.28 kB / 31.46 MB, free: 304 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.01342, allocations: 133.2 kB / 31.59 MB, free: 156 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005286/0.01872, allocations: 222.4 kB / 31.8 MB, free: 7.316 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01874, allocations: 2.094 kB / 31.8 MB, free: 7.316 MB / 18.57 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004011/0.01914, allocations: 302.3 kB / 32.1 MB, free: 7.254 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.01918, allocations: 40.23 kB / 32.14 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.0192, allocations: 6.516 kB / 32.15 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01922, allocations: 4.094 kB / 32.15 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01933, allocations: 26.2 kB / 32.17 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.01935, allocations: 2.531 kB / 32.18 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.01944, allocations: 25.06 kB / 32.2 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.01947, allocations: 9 kB / 32.21 MB, free: 7.223 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (P1.feeding,$PRE.P1.fireIn[1],T1.activation.emptied[1],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 1 * 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.0001392/0.01961, allocations: 198 kB / 32.4 MB, free: 7.078 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.01966, allocations: 10.61 kB / 32.41 MB, free: 7.078 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.02012, allocations: 304.2 kB / 32.71 MB, free: 7.004 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.02014, allocations: 2.766 kB / 32.71 MB, free: 7.004 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02015, allocations: 4.219 kB / 32.72 MB, free: 7.004 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.02019, allocations: 91.53 kB / 32.81 MB, free: 6.91 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.02024, allocations: 10.47 kB / 32.82 MB, free: 6.906 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.02038, allocations: 13.16 kB / 32.83 MB, free: 6.906 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.02051, allocations: 30.17 kB / 32.86 MB, free: 6.906 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005378/0.02106, allocations: 406.7 kB / 33.26 MB, free: 6.707 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000657/0.02173, allocations: 0.5161 MB / 33.77 MB, free: 6.469 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001847/0.02193, allocations: 98.94 kB / 33.87 MB, free: 6.465 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.022, allocations: 116.4 kB / 33.98 MB, free: 6.387 MB / 18.57 MB Notification: Performance of Backend: time 5.31e-07/0.02201, allocations: 0 / 33.98 MB, free: 6.387 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.02271, allocations: 303.5 kB / 34.28 MB, free: 6.234 MB / 18.57 MB Notification: Performance of SimCode: time 0.0005365/0.02326, allocations: 0.9339 MB / 35.21 MB, free: 5.293 MB / 18.57 MB Notification: Performance of Templates: time 0.004381/0.02765, allocations: 2.679 MB / 37.89 MB, free: 2.66 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)