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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001669/0.001669, allocations: 197.8 kB / 16.14 MB, free: 6.66 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9021/0.9021, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.84 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002195/0.1386, allocations: 1.49 MB / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.1389, allocations: 92.64 kB / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.1389, allocations: 4 kB / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.139, allocations: 7.938 kB / 0.5854 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.139, allocations: 0 / 0.5854 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.1391, allocations: 11.98 kB / 0.5854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.1392, allocations: 27.86 kB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.1393, allocations: 4 kB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.1393, allocations: 8 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.142e-05/0.1393, allocations: 11.92 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1394, allocations: 0 / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.008e-05/0.1394, allocations: 19.98 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1394, allocations: 7.984 kB / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.1395, allocations: 11.92 kB / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.271e-05/0.1396, allocations: 31.91 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1396, allocations: 0 / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1396, allocations: 0 / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1396, allocations: 0 / 0.5855 GB, free: 3.172 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.0003834/0.14, allocations: 345.8 kB / 0.5858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.14, allocations: 8.031 kB / 0.5858 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.14, allocations: 42.67 kB / 0.5859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1402, allocations: 16.83 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.1403, allocations: 164.4 kB / 0.586 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1403, allocations: 384 / 0.586 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.1403, allocations: 8.25 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1405, allocations: 62.22 kB / 0.5861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1405, allocations: 3.938 kB / 0.5861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1405, allocations: 0 / 0.5861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1405, allocations: 0 / 0.5861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1407, allocations: 51.95 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1411, allocations: 260.9 kB / 0.5864 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1412, allocations: 54.48 kB / 0.5865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1414, allocations: 32.89 kB / 0.5865 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.1414, allocations: 3.984 kB / 0.5865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1414, allocations: 38.55 kB / 0.5865 GB, free: 1.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1414, allocations: 0 / 0.5865 GB, free: 1.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003907/0.1418, allocations: 109.5 kB / 0.5866 GB, free: 1.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1418, allocations: 51.41 kB / 0.5867 GB, free: 1.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.1419, allocations: 105.8 kB / 0.5868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1419, allocations: 25.7 kB / 0.5868 GB, free: 1.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.142, allocations: 88.14 kB / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.142, allocations: 7.844 kB / 0.5869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.142, allocations: 13.72 kB / 0.5869 GB, free: 1.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.1421, allocations: 323 kB / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1422, allocations: 19.98 kB / 0.5873 GB, free: 1.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.703e-05/0.1423, allocations: 23.97 kB / 0.5873 GB, free: 1.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.1425, allocations: 48.81 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1425, allocations: 8 kB / 0.5873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002341/0.1428, allocations: 81.59 kB / 0.5874 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1428, allocations: 7.984 kB / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1428, allocations: 0 / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1428, allocations: 0 / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1429, allocations: 11.98 kB / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1429, allocations: 0 / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.143, allocations: 8.281 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.143, allocations: 4 kB / 0.5874 GB, free: 0.9492 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.267e-05/0.1431, allocations: 117.8 kB / 0.5875 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1431, allocations: 4 kB / 0.5876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.1432, allocations: 7.531 kB / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1432, allocations: 0 / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1432, allocations: 3.938 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1432, allocations: 0 / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.1433, allocations: 169.6 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1433, allocations: 4 kB / 0.5877 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.1434, allocations: 7.984 kB / 0.5877 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1434, allocations: 4 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1434, allocations: 3.938 kB / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1434, allocations: 3.984 kB / 0.5877 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1435, allocations: 3.938 kB / 0.5878 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1437, allocations: 183.3 kB / 0.5879 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.1438, allocations: 81.11 kB / 0.588 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1438, allocations: 0 / 0.588 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.1439, allocations: 7.984 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1439, allocations: 4 kB / 0.588 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.144, allocations: 3.984 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.349e-05/0.144, allocations: 79.28 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1442, allocations: 16.03 kB / 0.5881 GB, free: 164 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.0004826/0.1447, allocations: 0.7006 MB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1449, allocations: 55.98 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.145, allocations: 0 / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1451, allocations: 27.97 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.1453, allocations: 4.547 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.1458, allocations: 176.8 kB / 0.589 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1459, allocations: 0.677 MB / 0.5897 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.283e-05/0.146, allocations: 0 / 0.5897 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.146, allocations: 7.438 kB / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.146, allocations: 0 / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009721/0.1558, allocations: 1.253 MB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.156, allocations: 186.4 kB / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.253, allocations: 0.5469 kB / 0.5911 GB, free: 13.03 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)