Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01917/0.01918, allocations: 1.357 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.77e-05, allocations: 0 / 23.21 MB, free: 3.742 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007456/0.0007919, allocations: 356.9 kB / 23.56 MB, free: 3.59 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.001451/0.00226, allocations: 0.9717 MB / 24.53 MB, free: 2.883 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.003808, allocations: 0.6524 MB / 25.18 MB, free: 2.23 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.00408, allocations: 4.438 kB / 25.19 MB, free: 2.227 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.004359, allocations: 79.5 kB / 25.27 MB, free: 2.148 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.005379, allocations: 243.1 kB / 25.5 MB, free: 1.914 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.005627, allocations: 39.95 kB / 25.54 MB, free: 1.875 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.006003, allocations: 215.5 kB / 25.75 MB, free: 1.664 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.006287, allocations: 135.4 kB / 25.88 MB, free: 1.52 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.006453, allocations: 119.3 kB / 26 MB, free: 1.402 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.00664, allocations: 131.2 kB / 26.13 MB, free: 1.273 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.006696, allocations: 12 kB / 26.14 MB, free: 1.262 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.00712, allocations: 175.7 kB / 26.31 MB, free: 1.09 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.007231, allocations: 75.72 kB / 26.39 MB, free: 1.016 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.007313, allocations: 73.52 kB / 26.46 MB, free: 0.9375 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.007838, allocations: 385.4 kB / 26.83 MB, free: 0.5625 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.007856, allocations: 0 / 26.83 MB, free: 0.5625 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.114e-06/0.007869, allocations: 4 kB / 26.84 MB, free: 0.5586 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.00789, allocations: 0 / 26.84 MB, free: 0.5586 MB / 13.93 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.0008897/0.008788, allocations: 0.5981 MB / 27.44 MB, free: 4.566 MB / 18.59 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.008844, allocations: 8.297 kB / 27.44 MB, free: 4.559 MB / 18.59 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.008993, allocations: 44.39 kB / 27.49 MB, free: 4.516 MB / 18.59 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.00955, allocations: 303.6 kB / 27.78 MB, free: 4.18 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.649e-05/0.009632, allocations: 33.34 kB / 27.82 MB, free: 4.148 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.009753, allocations: 44.33 kB / 27.86 MB, free: 4.105 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.01143, allocations: 0.6407 MB / 28.5 MB, free: 3.445 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.01149, allocations: 352 / 28.5 MB, free: 3.445 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.01158, allocations: 23.95 kB / 28.53 MB, free: 3.422 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.01171, allocations: 36.97 kB / 28.56 MB, free: 3.387 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.01302, allocations: 459.7 kB / 29.01 MB, free: 2.938 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.01625, allocations: 1.504 MB / 30.51 MB, free: 1.301 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009665/0.01727, allocations: 351.9 kB / 30.86 MB, free: 0.9297 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.01803, allocations: 0.6014 MB / 31.46 MB, free: 204 kB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.0181, allocations: 41.42 kB / 31.5 MB, free: 156 kB / 18.59 MB Notification: Performance of pre-optimization done (n=22): time 3.486e-06/0.01812, allocations: 0 / 31.5 MB, free: 156 kB / 18.59 MB Notification: Performance of matching and sorting (n=22): time 0.01305/0.03118, allocations: 0.6045 MB / 32.1 MB, free: 7.766 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.03131, allocations: 145.4 kB / 32.25 MB, free: 7.609 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.03163, allocations: 224.2 kB / 32.47 MB, free: 7.496 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.03168, allocations: 32.95 kB / 32.5 MB, free: 7.465 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.03185, allocations: 213.2 kB / 32.71 MB, free: 7.324 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.03195, allocations: 75.81 kB / 32.78 MB, free: 7.285 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.03199, allocations: 4.5 kB / 32.78 MB, free: 7.285 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.03208, allocations: 336.6 kB / 33.11 MB, free: 6.973 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.03256, allocations: 160.8 kB / 33.27 MB, free: 6.969 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.03307, allocations: 244.7 kB / 33.51 MB, free: 6.883 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.03361, allocations: 200.1 kB / 33.7 MB, free: 6.797 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.03364, allocations: 2.25 kB / 33.71 MB, free: 6.797 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00132/0.03497, allocations: 0.528 MB / 34.23 MB, free: 6.551 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.03509, allocations: 49.02 kB / 34.28 MB, free: 6.504 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.03511, allocations: 6.719 kB / 34.29 MB, free: 6.5 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.03515, allocations: 8 kB / 34.3 MB, free: 6.492 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.03548, allocations: 51.16 kB / 34.35 MB, free: 6.449 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.03551, allocations: 7.938 kB / 34.35 MB, free: 6.441 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.03581, allocations: 51.27 kB / 34.4 MB, free: 6.398 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.03588, allocations: 17.31 kB / 34.42 MB, free: 6.383 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.03629, allocations: 257.3 kB / 34.67 MB, free: 6.117 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.03639, allocations: 19.81 kB / 34.69 MB, free: 6.098 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.03763, allocations: 477.8 kB / 35.16 MB, free: 5.629 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/0.0377, allocations: 11.98 kB / 35.17 MB, free: 5.617 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.03772, allocations: 0.8906 kB / 35.17 MB, free: 5.617 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.03774, allocations: 0 / 35.17 MB, free: 5.617 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.03958, allocations: 0.921 MB / 36.09 MB, free: 4.641 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.03964, allocations: 0 / 36.09 MB, free: 4.641 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.03993, allocations: 35.91 kB / 36.13 MB, free: 4.605 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.03995, allocations: 4.75 kB / 36.13 MB, free: 4.602 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.04, allocations: 13.83 kB / 36.15 MB, free: 4.594 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.04001, allocations: 0 / 36.15 MB, free: 4.594 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.04002, allocations: 0 / 36.15 MB, free: 4.594 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.04233, allocations: 0.7137 MB / 36.86 MB, free: 3.859 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.04253, allocations: 100.8 kB / 36.96 MB, free: 3.742 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.04271, allocations: 12 kB / 36.97 MB, free: 3.73 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.04334, allocations: 33.2 kB / 37 MB, free: 3.699 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.04372, allocations: 59.69 kB / 37.06 MB, free: 3.645 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.04382, allocations: 15.98 kB / 37.08 MB, free: 3.629 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.0002713/0.04411, allocations: 141.5 kB / 37.21 MB, free: 3.492 MB / 18.59 MB Notification: Performance of sort global known variables: time 6.31e-07/0.04414, allocations: 0 / 37.21 MB, free: 3.492 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.001452/0.04561, allocations: 152.6 kB / 37.36 MB, free: 3.352 MB / 18.59 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 (22): * Single equations (assignments): 19 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007934/0.04647, allocations: 184.9 kB / 37.54 MB, free: 3.18 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.04893, allocations: 489.2 kB / 38.02 MB, free: 2.691 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.04901, allocations: 0 / 38.02 MB, free: 2.691 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.05001, allocations: 263.7 kB / 38.28 MB, free: 2.422 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.05173, allocations: 32.25 kB / 38.31 MB, free: 2.391 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.05518, allocations: 0.8438 MB / 39.15 MB, free: 1.523 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.05662, allocations: 0.8577 MB / 40.01 MB, free: 0.6406 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0007186/0.0574, allocations: 110.2 kB / 40.12 MB, free: 0.5352 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.05769, allocations: 47.41 kB / 40.17 MB, free: 500 kB / 18.59 MB Notification: Performance of SimCode: time 2.395e-06/0.05772, allocations: 0 / 40.17 MB, free: 500 kB / 18.59 MB Notification: Performance of Templates: time 0.03173/0.08947, allocations: 3.966 MB / 44.13 MB, free: 4.078 MB / 18.59 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test7.makefile (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & ./ConPNlib_ConPNlib.Examples.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)