Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005251/0.005251, allocations: 100.6 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 188.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4133/0.4133, allocations: 54.95 MB / 324.8 MB, free: 0 / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 71.14 kB / 456.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.133, allocations: 59.58 MB / 0.5038 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001521/0.1345, allocations: 0.5455 MB / 0.5043 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.1348, allocations: 94.25 kB / 0.5044 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.1349, allocations: 4 kB / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1349, allocations: 0 / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.1349, allocations: 0 / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1352, allocations: 21.22 kB / 0.5044 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.1353, allocations: 4.781 kB / 0.5044 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.1353, allocations: 1.469 kB / 0.5044 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.1354, allocations: 5.375 kB / 0.5044 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.1355, allocations: 7.047 kB / 0.5045 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1355, allocations: 0 / 0.5045 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.21e-05/0.1355, allocations: 15.52 kB / 0.5045 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.1356, allocations: 7.938 kB / 0.5045 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.1356, allocations: 5.109 kB / 0.5045 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1357, allocations: 17.77 kB / 0.5045 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1357, allocations: 0 / 0.5045 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1357, allocations: 0.9375 kB / 0.5045 GB, free: 9.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1357, allocations: 0 / 0.5045 GB, free: 9.078 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003463/0.1361, allocations: 317.9 kB / 0.5048 GB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1361, allocations: 9.406 kB / 0.5048 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1363, allocations: 17.44 kB / 0.5048 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.01e-05/0.1364, allocations: 160.4 kB / 0.505 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1364, allocations: 1.438 kB / 0.505 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1364, allocations: 9.281 kB / 0.505 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1366, allocations: 40.03 kB / 0.505 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1366, allocations: 3.938 kB / 0.505 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1366, allocations: 0 / 0.505 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1366, allocations: 1.062 kB / 0.505 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.1367, allocations: 14.77 kB / 0.505 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.1368, allocations: 156.2 kB / 0.5052 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.137, allocations: 49.41 kB / 0.5052 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.1371, allocations: 9.547 kB / 0.5053 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1371, allocations: 3.938 kB / 0.5053 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1371, allocations: 35.91 kB / 0.5053 GB, free: 8.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1371, allocations: 4 kB / 0.5053 GB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002258/0.1374, allocations: 53.3 kB / 0.5053 GB, free: 8.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1374, allocations: 52.81 kB / 0.5054 GB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.066e-05/0.1374, allocations: 89.86 kB / 0.5055 GB, free: 7.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.1374, allocations: 25.7 kB / 0.5055 GB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.1375, allocations: 81.08 kB / 0.5056 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1375, allocations: 13.41 kB / 0.5056 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1375, allocations: 16.28 kB / 0.5056 GB, free: 7.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.1376, allocations: 316.1 kB / 0.5059 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.1376, allocations: 10.98 kB / 0.5059 GB, free: 7.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.1377, allocations: 3.844 kB / 0.5059 GB, free: 7.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.1377, allocations: 26.95 kB / 0.506 GB, free: 7.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1378, allocations: 0 / 0.506 GB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.289e-05/0.1379, allocations: 50.28 kB / 0.506 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1379, allocations: 5.125 kB / 0.506 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1379, allocations: 4 kB / 0.506 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1379, allocations: 1.219 kB / 0.506 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.1383, allocations: 43.42 kB / 0.506 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1393, allocations: 1.404 MB / 0.5074 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.1394, allocations: 12.97 kB / 0.5074 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1394, allocations: 1.281 kB / 0.5074 GB, free: 5.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/0.1395, allocations: 107.2 kB / 0.5075 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.1395, allocations: 5.094 kB / 0.5075 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.1395, allocations: 11.5 kB / 0.5076 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1395, allocations: 1.188 kB / 0.5076 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1395, allocations: 0 / 0.5076 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1395, allocations: 5.094 kB / 0.5076 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.149e-05/0.1396, allocations: 160.1 kB / 0.5077 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1396, allocations: 0 / 0.5077 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1399, allocations: 52.52 kB / 0.5078 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1399, allocations: 0 / 0.5078 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.14, allocations: 0 / 0.5078 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008394/0.1408, allocations: 1.412 MB / 0.5091 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1408, allocations: 128 / 0.5091 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1409, allocations: 71.22 kB / 0.5092 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.141, allocations: 84.98 kB / 0.5093 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.141, allocations: 5.641 kB / 0.5093 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.141, allocations: 4 kB / 0.5093 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.141, allocations: 5.312 kB / 0.5093 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.141, allocations: 1.375 kB / 0.5093 GB, free: 3.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.498e-05/0.1411, allocations: 79.28 kB / 0.5094 GB, free: 3.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1411, allocations: 1.312 kB / 0.5094 GB, free: 3.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1413, allocations: 2.781 kB / 0.5094 GB, free: 3.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.1414, allocations: 98.62 kB / 0.5095 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000455/0.1419, allocations: 65.53 kB / 0.5095 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1419, allocations: 0 / 0.5095 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.1421, allocations: 39.05 kB / 0.5096 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1422, allocations: 5.469 kB / 0.5096 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.1426, allocations: 104 kB / 0.5097 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1427, allocations: 0.6719 MB / 0.5103 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.1428, allocations: 7.078 kB / 0.5103 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.1428, allocations: 8.75 kB / 0.5104 GB, free: 2.824 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1428, allocations: 0 / 0.5104 GB, free: 2.824 MB / 382.1 MB Notification: Performance of Templates: time 0.002332/0.1452, allocations: 417.6 kB / 0.5108 GB, free: 2.609 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)