Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009622/0.009622, allocations: 1.366 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.086e-05/1.09e-05, allocations: 0 / 23.23 MB, free: 4.008 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004347/0.0004607, allocations: 360.9 kB / 23.58 MB, free: 3.852 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test4): time 0.0008714/0.00134, allocations: 1.157 MB / 24.74 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.000828/0.002179, allocations: 0.7315 MB / 25.47 MB, free: 2.176 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.002317, allocations: 7.938 kB / 25.48 MB, free: 2.168 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.002478, allocations: 83.38 kB / 25.56 MB, free: 2.086 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.00296, allocations: 259.1 kB / 25.82 MB, free: 1.832 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.111e-05/0.003051, allocations: 39.97 kB / 25.85 MB, free: 1.793 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.003356, allocations: 471.3 kB / 26.31 MB, free: 1.332 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.003573, allocations: 199.7 kB / 26.51 MB, free: 1.125 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.003688, allocations: 183 kB / 26.69 MB, free: 0.9453 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.003822, allocations: 182.8 kB / 26.87 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.003866, allocations: 16 kB / 26.88 MB, free: 0.75 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.004095, allocations: 207.6 kB / 27.08 MB, free: 0.5469 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.004172, allocations: 99.48 kB / 27.18 MB, free: 460 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.004233, allocations: 105.5 kB / 27.29 MB, free: 348 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.004607, allocations: 0.503 MB / 27.79 MB, free: 4.48 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004617, allocations: 0 / 27.79 MB, free: 4.48 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004623, allocations: 0 / 27.79 MB, free: 4.48 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.004636, allocations: 0 / 27.79 MB, free: 4.48 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.0007491/0.00539, allocations: 0.7363 MB / 28.52 MB, free: 3.688 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.005425, allocations: 8.297 kB / 28.53 MB, free: 3.68 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.005534, allocations: 60.2 kB / 28.59 MB, free: 3.621 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.005932, allocations: 369.1 kB / 28.95 MB, free: 3.223 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.005997, allocations: 57.64 kB / 29.01 MB, free: 3.164 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.006087, allocations: 72.27 kB / 29.08 MB, free: 3.094 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.007383, allocations: 0.9311 MB / 30.01 MB, free: 2.145 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.007407, allocations: 176 / 30.01 MB, free: 2.145 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.00747, allocations: 32.11 kB / 30.04 MB, free: 2.113 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-05/0.007569, allocations: 65.27 kB / 30.1 MB, free: 2.051 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.00853, allocations: 0.6592 MB / 30.76 MB, free: 1.391 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007065/0.0156, allocations: 1.772 MB / 32.54 MB, free: 6.742 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.01622, allocations: 482.2 kB / 33.01 MB, free: 6.621 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.01654, allocations: 286.6 kB / 33.29 MB, free: 6.613 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/0.01695, allocations: 0.8555 MB / 34.14 MB, free: 5.676 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.01698, allocations: 40.12 kB / 34.18 MB, free: 5.637 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.01699, allocations: 0 / 34.18 MB, free: 5.637 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.001936/0.01893, allocations: 1.139 MB / 35.32 MB, free: 5.297 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.019, allocations: 180.8 kB / 35.5 MB, free: 5.098 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.01919, allocations: 265.6 kB / 35.76 MB, free: 4.859 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.01923, allocations: 44.69 kB / 35.8 MB, free: 4.812 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.01934, allocations: 272.5 kB / 36.07 MB, free: 4.555 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.0194, allocations: 112 kB / 36.18 MB, free: 4.449 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.01943, allocations: 8 kB / 36.18 MB, free: 4.441 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.01948, allocations: 338.8 kB / 36.51 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.0198, allocations: 236.7 kB / 36.75 MB, free: 3.867 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.02015, allocations: 355.2 kB / 37.09 MB, free: 3.477 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.02049, allocations: 306.5 kB / 37.39 MB, free: 3.168 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.0205, allocations: 0 / 37.39 MB, free: 3.168 MB / 18.57 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009756/0.02148, allocations: 0.8703 MB / 38.26 MB, free: 2.297 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.02154, allocations: 83.38 kB / 38.34 MB, free: 2.203 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.02156, allocations: 4.344 kB / 38.35 MB, free: 2.199 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008657/0.02243, allocations: 252.6 kB / 38.6 MB, free: 1.949 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.02259, allocations: 55.84 kB / 38.65 MB, free: 1.895 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004551/0.02306, allocations: 0.7435 MB / 39.39 MB, free: 1.129 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.02329, allocations: 63.59 kB / 39.46 MB, free: 1.066 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.02335, allocations: 24 kB / 39.48 MB, free: 1.043 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.P1.fireOut[1],P1.emptying,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],T1.activation.arcType[1],T2.activation.arcType[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 (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.02364, allocations: 345.9 kB / 39.82 MB, free: 0.6836 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.0237, allocations: 31.62 kB / 39.85 MB, free: 0.6523 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007754/0.03146, allocations: 0.8444 MB / 40.69 MB, free: 6.559 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.0315, allocations: 11.25 kB / 40.7 MB, free: 6.559 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.03151, allocations: 1.219 kB / 40.7 MB, free: 6.559 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.03153, allocations: 2.625 kB / 40.71 MB, free: 6.559 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.03309, allocations: 1.366 MB / 42.07 MB, free: 6.16 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03311, allocations: 3.625 kB / 42.08 MB, free: 6.16 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.03323, allocations: 38.19 kB / 42.11 MB, free: 6.156 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007038/0.03395, allocations: 275.6 kB / 42.38 MB, free: 6.129 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.03399, allocations: 21.38 kB / 42.4 MB, free: 6.125 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004548/0.03445, allocations: 0.7599 MB / 43.16 MB, free: 5.547 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.03446, allocations: 3.781 kB / 43.17 MB, free: 5.547 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.03572, allocations: 1.146 MB / 44.31 MB, free: 4.516 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.03577, allocations: 111 kB / 44.42 MB, free: 4.41 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.03583, allocations: 17.83 kB / 44.44 MB, free: 4.395 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.03601, allocations: 48.14 kB / 44.49 MB, free: 4.355 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.03617, allocations: 83.89 kB / 44.57 MB, free: 4.273 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.03621, allocations: 20.7 kB / 44.59 MB, free: 4.254 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001102/0.03633, allocations: 168.5 kB / 44.75 MB, free: 4.086 MB / 18.57 MB Notification: Performance of sort global known variables: time 5.41e-07/0.03633, allocations: 1.312 kB / 44.75 MB, free: 4.086 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004593/0.0368, allocations: 207 kB / 44.96 MB, free: 3.914 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: 11 (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]) * Number of discrete states: 8 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.03704, allocations: 190.9 kB / 45.14 MB, free: 3.742 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0008626/0.03791, allocations: 0.7581 MB / 45.9 MB, free: 2.977 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.03793, allocations: 7.812 kB / 45.91 MB, free: 2.973 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.03836, allocations: 450.9 kB / 46.35 MB, free: 2.508 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.03867, allocations: 47.83 kB / 46.39 MB, free: 2.461 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/0.04594, allocations: 1.246 MB / 47.64 MB, free: 5.992 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.04631, allocations: 0.9379 MB / 48.58 MB, free: 5.293 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.0465, allocations: 86.48 kB / 48.66 MB, free: 5.293 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.04656, allocations: 31.14 kB / 48.69 MB, free: 5.289 MB / 18.57 MB Notification: Performance of SimCode: time 4.51e-07/0.04657, allocations: 0 / 48.69 MB, free: 5.289 MB / 18.57 MB Notification: Performance of Templates: time 0.01818/0.06475, allocations: 6.529 MB / 55.22 MB, free: 4.891 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test4.makefile (rm -f ConPNlib_ConPNlib.Examples.Test4.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test4.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test4.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test4.sim & ./ConPNlib_ConPNlib.Examples.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test4.pipe 2>&1)