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.009093/0.009093, allocations: 1.366 MB / 17.31 MB, free: 4.395 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.528e-05, allocations: 4 kB / 24.32 MB, free: 2.961 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005873/0.0006235, allocations: 358 kB / 24.67 MB, free: 2.672 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.006309/0.006952, allocations: 4.128 MB / 28.8 MB, free: 3.188 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001192/0.007094, allocations: 58.11 kB / 28.86 MB, free: 3.137 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.0337/0.04081, allocations: 9.248 MB / 38.11 MB, free: 3.168 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04085, allocations: 0 / 38.11 MB, free: 3.168 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.04088, allocations: 9.312 kB / 38.12 MB, free: 3.16 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.0008812/0.04177, allocations: 0.7701 MB / 38.89 MB, free: 2.328 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.04181, allocations: 12.31 kB / 38.9 MB, free: 2.316 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.04195, allocations: 60.28 kB / 38.96 MB, free: 2.258 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.04254, allocations: 397.3 kB / 39.34 MB, free: 1.832 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.04259, allocations: 53.67 kB / 39.4 MB, free: 1.781 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.04269, allocations: 68.36 kB / 39.46 MB, free: 1.715 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.04386, allocations: 0.9111 MB / 40.37 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.04389, allocations: 0 / 40.37 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.04395, allocations: 32 kB / 40.41 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.04402, allocations: 45.28 kB / 40.45 MB, free: 0.7109 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.04488, allocations: 0.6257 MB / 41.08 MB, free: 84 kB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009503/0.05439, allocations: 1.58 MB / 42.66 MB, free: 2.195 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.05501, allocations: 470.1 kB / 43.11 MB, free: 2.074 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.05536, allocations: 267.5 kB / 43.38 MB, free: 2.066 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.05583, allocations: 0.862 MB / 44.24 MB, free: 1.129 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.05586, allocations: 37.16 kB / 44.27 MB, free: 1.09 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.05587, allocations: 3.562 kB / 44.28 MB, free: 1.09 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.001961/0.05783, allocations: 1.077 MB / 45.36 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.0579, allocations: 183.5 kB / 45.53 MB, free: 0.6836 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.05813, allocations: 269.4 kB / 45.8 MB, free: 0.5703 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.05817, allocations: 36.17 kB / 45.83 MB, free: 0.5391 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.05829, allocations: 280.4 kB / 46.11 MB, free: 380 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.05837, allocations: 102 kB / 46.21 MB, free: 316 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.0584, allocations: 16.34 kB / 46.22 MB, free: 308 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.05853, allocations: 342.8 kB / 46.56 MB, free: 6.195 MB / 24.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.05885, allocations: 223.5 kB / 46.78 MB, free: 6.133 MB / 24.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.05921, allocations: 347.9 kB / 47.11 MB, free: 5.926 MB / 24.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.05993, allocations: 0.6259 MB / 47.74 MB, free: 5.512 MB / 24.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.05994, allocations: 7.812 kB / 47.75 MB, free: 5.508 MB / 24.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001175/0.06112, allocations: 0.8361 MB / 48.58 MB, free: 5.07 MB / 24.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.06121, allocations: 83.89 kB / 48.67 MB, free: 4.984 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.06123, allocations: 4.938 kB / 48.67 MB, free: 4.98 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.06226, allocations: 268.3 kB / 48.93 MB, free: 4.781 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.06245, allocations: 62.69 kB / 48.99 MB, free: 4.727 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006481/0.0631, allocations: 0.7433 MB / 49.74 MB, free: 4.008 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.06334, allocations: 62.08 kB / 49.8 MB, free: 3.953 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.06341, allocations: 37.56 kB / 49.84 MB, free: 3.926 MB / 24.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,P1.feeding,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],T1.activation.fed[1],T2.activation.arcType[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 (44): * Single equations (assignments): 41 * 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.0003597/0.06378, allocations: 341.5 kB / 50.17 MB, free: 3.602 MB / 24.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.06385, allocations: 27.72 kB / 50.2 MB, free: 3.574 MB / 24.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.06521, allocations: 0.8417 MB / 51.04 MB, free: 2.848 MB / 24.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.06525, allocations: 7.938 kB / 51.05 MB, free: 2.84 MB / 24.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.06526, allocations: 0 / 51.05 MB, free: 2.84 MB / 24.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.06527, allocations: 11.73 kB / 51.06 MB, free: 2.836 MB / 24.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.06724, allocations: 1.335 MB / 52.39 MB, free: 1.641 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.06726, allocations: 0 / 52.39 MB, free: 1.641 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.06739, allocations: 38.52 kB / 52.43 MB, free: 1.613 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008188/0.06822, allocations: 293.5 kB / 52.72 MB, free: 1.367 MB / 24.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.06828, allocations: 18.36 kB / 52.73 MB, free: 1.352 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007065/0.06899, allocations: 0.777 MB / 53.51 MB, free: 0.5586 MB / 24.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.06901, allocations: 32 / 53.51 MB, free: 0.5586 MB / 24.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.08176, allocations: 1.118 MB / 54.63 MB, free: 7.945 MB / 24.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.08183, allocations: 103.9 kB / 54.73 MB, free: 7.852 MB / 24.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.08191, allocations: 18.56 kB / 54.75 MB, free: 7.852 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.08212, allocations: 33.12 kB / 54.78 MB, free: 7.852 MB / 24.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.0823, allocations: 92.14 kB / 54.87 MB, free: 7.852 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.08235, allocations: 22.48 kB / 54.89 MB, free: 7.852 MB / 24.8 MB Notification: Performance of sorting global known variables: time 0.0001246/0.08248, allocations: 168.1 kB / 55.06 MB, free: 7.773 MB / 24.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08249, allocations: 0 / 55.06 MB, free: 7.773 MB / 24.8 MB Notification: Performance of remove unused functions: time 0.0005775/0.08307, allocations: 204.5 kB / 55.26 MB, free: 7.773 MB / 24.8 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 (P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyInputActiveVec[1],T2.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.0003227/0.0834, allocations: 213.9 kB / 55.47 MB, free: 7.688 MB / 24.8 MB Notification: Performance of simCode: created initialization part: time 0.0009812/0.0844, allocations: 0.7508 MB / 56.22 MB, free: 7.559 MB / 24.8 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.08441, allocations: 3.906 kB / 56.22 MB, free: 7.559 MB / 24.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.08489, allocations: 450.4 kB / 56.66 MB, free: 7.43 MB / 24.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.08525, allocations: 46.44 kB / 56.71 MB, free: 7.43 MB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.08676, allocations: 1.234 MB / 57.94 MB, free: 6.91 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.08711, allocations: 0.9409 MB / 58.88 MB, free: 6.215 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.08728, allocations: 78.62 kB / 58.96 MB, free: 6.211 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.08734, allocations: 25.72 kB / 58.98 MB, free: 6.203 MB / 24.8 MB Notification: Performance of SimCode: time 3.9e-07/0.08735, allocations: 0 / 58.98 MB, free: 6.203 MB / 24.8 MB Notification: Performance of Templates: time 0.02007/0.1074, allocations: 6.457 MB / 65.44 MB, free: 7.277 MB / 24.8 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)