Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001009/0.001009, allocations: 193 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8767/0.8767, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 69.05 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1407, allocations: 80.94 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002366/0.1431, allocations: 1.481 MB / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002122/0.1433, allocations: 96.58 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.1433, allocations: 8 kB / 0.5855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.1434, allocations: 0 / 0.5855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.281e-05/0.1434, allocations: 3.938 kB / 0.5855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.1436, allocations: 11.98 kB / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.1436, allocations: 31.86 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.1437, allocations: 0 / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.1437, allocations: 8 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.1438, allocations: 15.92 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1438, allocations: 4 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.1438, allocations: 19.98 kB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.1439, allocations: 3.984 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.1439, allocations: 15.92 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.144, allocations: 31.91 kB / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.144, allocations: 0 / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.144, allocations: 0 / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.144, allocations: 0 / 0.5857 GB, free: 3.02 MB / 494.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.0003294/0.1443, allocations: 343.7 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1444, allocations: 8.031 kB / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.1444, allocations: 38.73 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.1445, allocations: 20.77 kB / 0.5861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.1446, allocations: 176.3 kB / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1447, allocations: 384 / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.1447, allocations: 384 / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1448, allocations: 62.2 kB / 0.5863 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.1449, allocations: 3.938 kB / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.1449, allocations: 0 / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1449, allocations: 0 / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1451, allocations: 51.95 kB / 0.5864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.1454, allocations: 261 kB / 0.5866 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1455, allocations: 58.42 kB / 0.5867 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.1456, allocations: 32.89 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1457, allocations: 0 / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1457, allocations: 34.56 kB / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.1457, allocations: 0 / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003659/0.1461, allocations: 109.5 kB / 0.5868 GB, free: 1.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1461, allocations: 51.41 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.1462, allocations: 113.8 kB / 0.587 GB, free: 1.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.1462, allocations: 25.7 kB / 0.587 GB, free: 1.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1462, allocations: 84.14 kB / 0.5871 GB, free: 1.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.1462, allocations: 11.84 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1463, allocations: 13.72 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.1464, allocations: 319 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.3e-05/0.1465, allocations: 19.98 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.1465, allocations: 23.97 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1467, allocations: 52.81 kB / 0.5875 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1467, allocations: 8 kB / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.147, allocations: 81.59 kB / 0.5876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.147, allocations: 4 kB / 0.5876 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.147, allocations: 3.984 kB / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.147, allocations: 0 / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.1471, allocations: 8 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1471, allocations: 3.984 kB / 0.5876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.1472, allocations: 8.031 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1472, allocations: 4 kB / 0.5876 GB, free: 0.7891 MB / 494.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.08e-05/0.1472, allocations: 113.8 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1473, allocations: 0 / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.1473, allocations: 15.47 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1473, allocations: 0 / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1473, allocations: 0 / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-06/0.1473, allocations: 0 / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.1475, allocations: 165.6 kB / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1475, allocations: 7.938 kB / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.1476, allocations: 11.98 kB / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1476, allocations: 0 / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1476, allocations: 0 / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1476, allocations: 0 / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1476, allocations: 0 / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1478, allocations: 191.3 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.1479, allocations: 77.11 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1479, allocations: 0 / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.148, allocations: 12.23 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.148, allocations: 0 / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.148, allocations: 4 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.429e-05/0.1481, allocations: 87.27 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1481, allocations: 0 / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.1483, allocations: 12.03 kB / 0.5883 GB, free: 8 kB / 494.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004659/0.1488, allocations: 0.7085 MB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.149, allocations: 51.98 kB / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.149, allocations: 0 / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.1491, allocations: 27.97 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1493, allocations: 0 / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.1497, allocations: 167.1 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.1499, allocations: 0.6729 MB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.15, allocations: 7.922 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.15, allocations: 15.44 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.15, allocations: 0 / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.494/2.645, allocations: 1.29 MB / 0.5912 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/2.645, allocations: 185.1 kB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/4.609, allocations: 0 / 0.5913 GB, free: 12.86 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)