Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_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.004726/0.004726, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001246/0.001246, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7825/0.7825, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 68.16 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.148, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002388/0.1504, allocations: 1.43 MB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.1507, allocations: 100.5 kB / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.1507, allocations: 0 / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.1508, allocations: 0 / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.511e-05/0.1508, allocations: 7.875 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.151, allocations: 15.92 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.1511, allocations: 27.97 kB / 0.6608 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.1511, allocations: 3.984 kB / 0.6608 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.1512, allocations: 15.92 kB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.1512, allocations: 15.98 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1513, allocations: 7.938 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.1513, allocations: 11.98 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.1513, allocations: 7.938 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1514, allocations: 11.94 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1515, allocations: 40.09 kB / 0.6609 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1515, allocations: 0 / 0.6609 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1515, allocations: 0 / 0.6609 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.1515, allocations: 0 / 0.6609 GB, free: 12.3 MB / 0.4981 GB 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.0004387/0.1519, allocations: 347.4 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.152, allocations: 8.031 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.152, allocations: 30.75 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1522, allocations: 16.88 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1523, allocations: 168.4 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.1524, allocations: 384 / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.1524, allocations: 384 / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1526, allocations: 58.23 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1526, allocations: 7.938 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1526, allocations: 3.938 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1526, allocations: 4 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.1528, allocations: 43.94 kB / 0.6615 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.1532, allocations: 261 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1534, allocations: 58.47 kB / 0.6618 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1535, allocations: 24.91 kB / 0.6618 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1535, allocations: 0 / 0.6618 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1536, allocations: 38.5 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1536, allocations: 0 / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004123/0.154, allocations: 105.6 kB / 0.662 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.154, allocations: 51.41 kB / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.1541, allocations: 105.8 kB / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1542, allocations: 25.7 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1542, allocations: 88.14 kB / 0.6622 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1542, allocations: 7.938 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.1543, allocations: 17.84 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1544, allocations: 314.8 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1545, allocations: 23.97 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1546, allocations: 23.98 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1548, allocations: 64.67 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1548, allocations: 3.938 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000239/0.1551, allocations: 77.66 kB / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1551, allocations: 4 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1551, allocations: 0 / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1551, allocations: 0 / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1552, allocations: 16.02 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1552, allocations: 0 / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.1553, allocations: 11.92 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1553, allocations: 4.25 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB 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 8.214e-05/0.1554, allocations: 114.4 kB / 0.6629 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1554, allocations: 4 kB / 0.6629 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.1555, allocations: 7.469 kB / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1555, allocations: 3.984 kB / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1555, allocations: 8 kB / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1555, allocations: 0 / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1557, allocations: 173.5 kB / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1557, allocations: 0 / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.1558, allocations: 11.98 kB / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1558, allocations: 0 / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1558, allocations: 0 / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1558, allocations: 0 / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1558, allocations: 0 / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.1561, allocations: 179.4 kB / 0.6633 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.1562, allocations: 77.11 kB / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1562, allocations: 4 kB / 0.6633 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.1563, allocations: 15.97 kB / 0.6634 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.1563, allocations: 0 / 0.6634 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1563, allocations: 0 / 0.6634 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.1564, allocations: 87.25 kB / 0.6634 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1564, allocations: 4 kB / 0.6634 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002049/0.1566, allocations: 8 kB / 0.6635 GB, free: 9.309 MB / 0.4981 GB 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.0005877/0.1572, allocations: 0.7085 MB / 0.6641 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1574, allocations: 51.95 kB / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1575, allocations: 0 / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1576, allocations: 31.91 kB / 0.6642 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1578, allocations: 7.438 kB / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.1583, allocations: 159.1 kB / 0.6644 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1586, allocations: 0.6768 MB / 0.665 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.1586, allocations: 0 / 0.665 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1587, allocations: 11.44 kB / 0.6651 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1587, allocations: 0 / 0.6651 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3709/0.5296, allocations: 1.446 MB / 0.6665 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.746, allocations: 8.781 kB / 0.6665 GB, free: 6.219 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)