Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005212/0.005212, allocations: 1.357 MB / 17.29 MB, free: 4.527 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.474e-05/1.483e-05, allocations: 0 / 24.36 MB, free: 3.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000662/0.0006963, allocations: 364.3 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.001456/0.002163, allocations: 1.756 MB / 26.47 MB, free: 1.012 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.004117, allocations: 0.9811 MB / 27.45 MB, free: 32 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006261/0.004759, allocations: 11.94 kB / 27.46 MB, free: 20 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.005277, allocations: 134.4 kB / 27.59 MB, free: 4.531 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.006751, allocations: 350.7 kB / 27.94 MB, free: 4.188 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.007061, allocations: 79.92 kB / 28.01 MB, free: 4.109 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.00797, allocations: 0.7321 MB / 28.75 MB, free: 3.379 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.008488, allocations: 410.7 kB / 29.15 MB, free: 2.957 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.008834, allocations: 282.2 kB / 29.42 MB, free: 2.68 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.009239, allocations: 317.8 kB / 29.73 MB, free: 2.367 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.009313, allocations: 24 kB / 29.76 MB, free: 2.344 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.009817, allocations: 231.6 kB / 29.98 MB, free: 2.117 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.01004, allocations: 171.2 kB / 30.15 MB, free: 1.949 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.01039, allocations: 351.2 kB / 30.49 MB, free: 1.598 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0008093/0.01121, allocations: 0.7138 MB / 31.21 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01122, allocations: 0 / 31.21 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.374e-06/0.01123, allocations: 4 kB / 31.21 MB, free: 0.8789 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.01125, allocations: 0 / 31.21 MB, free: 0.8789 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00832/0.01957, allocations: 0.9573 MB / 32.17 MB, free: 7.32 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01962, allocations: 9.875 kB / 32.18 MB, free: 7.32 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.01991, allocations: 99.84 kB / 32.28 MB, free: 7.273 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.02044, allocations: 490 kB / 32.75 MB, free: 7.012 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.02052, allocations: 83.84 kB / 32.84 MB, free: 7.008 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.02066, allocations: 112.3 kB / 32.95 MB, free: 7.004 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.0224, allocations: 1.491 MB / 34.44 MB, free: 6.402 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.02243, allocations: 5.969 kB / 34.44 MB, free: 6.398 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.02251, allocations: 52.23 kB / 34.49 MB, free: 6.352 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.02262, allocations: 96.7 kB / 34.59 MB, free: 6.262 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.02387, allocations: 1.077 MB / 35.66 MB, free: 5.191 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.02651, allocations: 2.882 MB / 38.55 MB, free: 2.203 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.02732, allocations: 0.7572 MB / 39.3 MB, free: 1.395 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.02779, allocations: 458.1 kB / 39.75 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006149/0.03395, allocations: 0.8574 MB / 40.61 MB, free: 6.156 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.03401, allocations: 37.59 kB / 40.64 MB, free: 6.117 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 2.926e-06/0.03402, allocations: 0 / 40.64 MB, free: 6.117 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.003232/0.03726, allocations: 1.723 MB / 42.37 MB, free: 5.875 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.03735, allocations: 245.6 kB / 42.61 MB, free: 5.625 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.03767, allocations: 356.2 kB / 42.96 MB, free: 5.457 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.03772, allocations: 39.14 kB / 42.99 MB, free: 5.422 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.03792, allocations: 398.8 kB / 43.38 MB, free: 5.16 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.03802, allocations: 169.8 kB / 43.55 MB, free: 5.039 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.03806, allocations: 15.62 kB / 43.56 MB, free: 5.031 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.03815, allocations: 358.3 kB / 43.91 MB, free: 4.703 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.03862, allocations: 377.3 kB / 44.28 MB, free: 4.594 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.03914, allocations: 0.5359 MB / 44.82 MB, free: 4.008 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/0.04002, allocations: 0.9742 MB / 45.79 MB, free: 2.949 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.04004, allocations: 0 / 45.79 MB, free: 2.949 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001476/0.04152, allocations: 1.293 MB / 47.09 MB, free: 1.629 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.649e-05/0.0416, allocations: 121.6 kB / 47.2 MB, free: 1.492 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.04162, allocations: 4.938 kB / 47.21 MB, free: 1.488 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.04335, allocations: 467.6 kB / 47.67 MB, free: 1.031 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.04358, allocations: 89.33 kB / 47.75 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006652/0.04425, allocations: 0.8966 MB / 48.65 MB, free: 32 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00659/0.05086, allocations: 96.47 kB / 48.74 MB, free: 5.465 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.609e-05/0.05098, allocations: 47.12 kB / 48.79 MB, free: 5.465 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004904/0.05147, allocations: 460.9 kB / 49.24 MB, free: 5.254 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.05157, allocations: 45.81 kB / 49.28 MB, free: 5.254 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.05321, allocations: 1.234 MB / 50.52 MB, free: 5.105 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.05325, allocations: 20.3 kB / 50.54 MB, free: 5.105 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.05326, allocations: 0.6562 kB / 50.54 MB, free: 5.105 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.05327, allocations: 3.469 kB / 50.54 MB, free: 5.105 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.05543, allocations: 2.006 MB / 52.55 MB, free: 3.875 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.05545, allocations: 0 / 52.55 MB, free: 3.875 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.05563, allocations: 58.09 kB / 52.61 MB, free: 3.828 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000956/0.05659, allocations: 373.5 kB / 52.97 MB, free: 3.469 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.05666, allocations: 23.98 kB / 52.99 MB, free: 3.445 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006685/0.05733, allocations: 0.9389 MB / 53.93 MB, free: 2.496 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.05734, allocations: 3.938 kB / 53.94 MB, free: 2.492 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.05925, allocations: 1.719 MB / 55.66 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.05933, allocations: 120.2 kB / 55.77 MB, free: 0.6562 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.05942, allocations: 31.62 kB / 55.8 MB, free: 0.6289 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.05967, allocations: 51.97 kB / 55.85 MB, free: 0.5781 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.05989, allocations: 144.2 kB / 56 MB, free: 448 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.05996, allocations: 35.83 kB / 56.03 MB, free: 416 kB / 18.57 MB Notification: Performance of sorting global known variables: time 0.007319/0.06729, allocations: 215.7 kB / 56.24 MB, free: 5.277 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.51e-07/0.06732, allocations: 0 / 56.24 MB, free: 5.277 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008071/0.06813, allocations: 270.5 kB / 56.5 MB, free: 5.266 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003905/0.06854, allocations: 213.6 kB / 56.71 MB, free: 5.172 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.07023, allocations: 1.182 MB / 57.9 MB, free: 4.98 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.07025, allocations: 4.5 kB / 57.9 MB, free: 4.98 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.07099, allocations: 0.6952 MB / 58.59 MB, free: 4.672 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.07144, allocations: 63.59 kB / 58.66 MB, free: 4.641 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.07406, allocations: 2.081 MB / 60.74 MB, free: 3.078 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.07455, allocations: 1.073 MB / 61.81 MB, free: 2.074 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.07467, allocations: 55.41 kB / 61.87 MB, free: 2.02 MB / 18.57 MB Notification: Performance of SimCode: time 3.81e-07/0.07467, allocations: 0 / 61.87 MB, free: 2.02 MB / 18.57 MB Notification: Performance of Templates: time 0.03449/0.1092, allocations: 13.8 MB / 75.67 MB, free: 9.773 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)