Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.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.Test1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1b") translateModel(ConPNlib.Examples.Test1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005482/0.005482, allocations: 1.367 MB / 16.64 MB, free: 5.164 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.409e-05, allocations: 4 kB / 23.71 MB, free: 3.73 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005436/0.0005772, allocations: 365.1 kB / 24.06 MB, free: 3.414 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0005489/0.001138, allocations: 412 kB / 24.46 MB, free: 3.016 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.001527, allocations: 177.1 kB / 24.64 MB, free: 2.848 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.001601, allocations: 0 / 24.64 MB, free: 2.848 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.001724, allocations: 23.8 kB / 24.66 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.001958, allocations: 49.98 kB / 24.71 MB, free: 2.777 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 4.908e-05/0.002017, allocations: 23.98 kB / 24.73 MB, free: 2.754 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.002137, allocations: 99.78 kB / 24.83 MB, free: 2.656 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.002197, allocations: 12.2 kB / 24.84 MB, free: 2.645 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.002259, allocations: 49.09 kB / 24.89 MB, free: 2.598 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.002335, allocations: 23.8 kB / 24.91 MB, free: 2.574 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.002353, allocations: 0 / 24.91 MB, free: 2.574 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.002433, allocations: 31.34 kB / 24.94 MB, free: 2.547 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.002464, allocations: 7.969 kB / 24.95 MB, free: 2.539 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.002498, allocations: 37.64 kB / 24.99 MB, free: 2.496 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.002604, allocations: 43.89 kB / 25.03 MB, free: 2.453 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.002615, allocations: 0 / 25.03 MB, free: 2.453 MB / 13.93 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002621, allocations: 7.875 kB / 25.04 MB, free: 2.445 MB / 13.93 MB Notification: Performance of Transformations before backend: time 2.575e-06/0.002628, allocations: 0 / 25.04 MB, free: 2.445 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002755/0.002908, allocations: 357.2 kB / 25.39 MB, free: 2.039 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.002948, allocations: 12.31 kB / 25.4 MB, free: 2.027 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.003049, allocations: 8.844 kB / 25.41 MB, free: 2.02 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.003168, allocations: 176.4 kB / 25.58 MB, free: 1.809 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.003194, allocations: 384 / 25.58 MB, free: 1.809 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.003211, allocations: 4.375 kB / 25.59 MB, free: 1.805 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.003321, allocations: 50.23 kB / 25.63 MB, free: 1.75 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.003335, allocations: 192 / 25.63 MB, free: 1.75 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.003351, allocations: 3.938 kB / 25.64 MB, free: 1.746 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.003359, allocations: 0 / 25.64 MB, free: 1.746 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.003416, allocations: 23.92 kB / 25.66 MB, free: 1.723 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.003812, allocations: 379.4 kB / 26.03 MB, free: 1.285 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/0.003864, allocations: 25.75 kB / 26.06 MB, free: 1.254 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.003886, allocations: 12.92 kB / 26.07 MB, free: 1.238 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.003898, allocations: 0 / 26.07 MB, free: 1.238 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.003918, allocations: 30.56 kB / 26.1 MB, free: 1.199 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.003926, allocations: 4 kB / 26.1 MB, free: 1.195 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.004075, allocations: 75.28 kB / 26.18 MB, free: 1.109 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.004107, allocations: 77.11 kB / 26.25 MB, free: 1.016 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.004177, allocations: 119.1 kB / 26.37 MB, free: 0.8906 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.004189, allocations: 25.7 kB / 26.39 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.004222, allocations: 91.95 kB / 26.48 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-06/0.004233, allocations: 4 kB / 26.49 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.004242, allocations: 0 / 26.49 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.004284, allocations: 322.9 kB / 26.8 MB, free: 448 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.004309, allocations: 8 kB / 26.81 MB, free: 440 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.004337, allocations: 21.72 kB / 26.83 MB, free: 412 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.004393, allocations: 82.92 kB / 26.91 MB, free: 312 kB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.0044, allocations: 0 / 26.91 MB, free: 312 kB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.603e-05/0.004501, allocations: 87.3 kB / 27 MB, free: 212 kB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.004531, allocations: 37.64 kB / 27.04 MB, free: 168 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.004542, allocations: 4.031 kB / 27.04 MB, free: 164 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.004561, allocations: 3.984 kB / 27.04 MB, free: 160 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.004624, allocations: 8 kB / 27.05 MB, free: 152 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.004634, allocations: 0 / 27.05 MB, free: 152 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.004668, allocations: 4.125 kB / 27.05 MB, free: 148 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.004684, allocations: 4 kB / 27.06 MB, free: 144 kB / 13.93 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * 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 8.223e-05/0.004771, allocations: 148.2 kB / 27.2 MB, free: 4.641 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.004805, allocations: 7.891 kB / 27.21 MB, free: 4.633 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.004831, allocations: 7.891 kB / 27.22 MB, free: 4.617 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.004841, allocations: 4 kB / 27.22 MB, free: 4.613 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.004849, allocations: 0 / 27.22 MB, free: 4.613 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.004856, allocations: 0 / 27.22 MB, free: 4.613 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.00503, allocations: 165.6 kB / 27.38 MB, free: 4.402 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005039, allocations: 0 / 27.38 MB, free: 4.402 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.005058, allocations: 3.984 kB / 27.39 MB, free: 4.398 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005066, allocations: 0.6562 kB / 27.39 MB, free: 4.398 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-06/0.005077, allocations: 48 / 27.39 MB, free: 4.398 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.005084, allocations: 4 kB / 27.39 MB, free: 4.395 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.005091, allocations: 4.297 kB / 27.4 MB, free: 4.391 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.00522, allocations: 169.1 kB / 27.56 MB, free: 4.203 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.005283, allocations: 89.09 kB / 27.65 MB, free: 4.098 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.005307, allocations: 0 / 27.65 MB, free: 4.098 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.005354, allocations: 5.719 kB / 27.66 MB, free: 4.094 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.005373, allocations: 0 / 27.66 MB, free: 4.094 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.005383, allocations: 4 kB / 27.66 MB, free: 4.09 MB / 18.59 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.005433, allocations: 91.25 kB / 27.75 MB, free: 4 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.11e-07/0.005439, allocations: 0 / 27.75 MB, free: 4 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0002215/0.005667, allocations: 19.94 kB / 27.77 MB, free: 3.98 MB / 18.59 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001207/0.005793, allocations: 99.83 kB / 27.87 MB, free: 3.875 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.005913, allocations: 83.33 kB / 27.95 MB, free: 3.781 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.005923, allocations: 0 / 27.95 MB, free: 3.781 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.005962, allocations: 59.39 kB / 28 MB, free: 3.711 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.006164, allocations: 7.938 kB / 28.01 MB, free: 3.703 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.006485, allocations: 149.6 kB / 28.16 MB, free: 3.531 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.006732, allocations: 0.6809 MB / 28.84 MB, free: 2.824 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 8.392e-05/0.006823, allocations: 27.91 kB / 28.87 MB, free: 2.797 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.006857, allocations: 15.42 kB / 28.88 MB, free: 2.781 MB / 18.59 MB Notification: Performance of SimCode: time 2.31e-07/0.006863, allocations: 0 / 28.88 MB, free: 2.781 MB / 18.59 MB Notification: Performance of Templates: time 0.00227/0.009139, allocations: 472.3 kB / 29.34 MB, free: 2.324 MB / 18.59 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test1b.makefile (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & ./ConPNlib_ConPNlib.Examples.Test1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)