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.001111/0.001111, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9315/0.9315, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.11 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1236, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002233/0.1259, allocations: 1.436 MB / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.1261, allocations: 84.59 kB / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.1261, allocations: 0 / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.1262, allocations: 3.938 kB / 0.586 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.1262, allocations: 8 kB / 0.586 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.1264, allocations: 19.91 kB / 0.586 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.1264, allocations: 23.88 kB / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.1265, allocations: 11.98 kB / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.1266, allocations: 11.92 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.1266, allocations: 15.92 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1266, allocations: 0 / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.1267, allocations: 19.98 kB / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1267, allocations: 4 kB / 0.5861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.1267, allocations: 11.92 kB / 0.5861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.183e-05/0.1268, allocations: 35.91 kB / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1268, allocations: 0 / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1268, allocations: 0 / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1268, allocations: 0 / 0.5861 GB, free: 2.766 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.0003551/0.1272, allocations: 343.7 kB / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1272, allocations: 8.031 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.1273, allocations: 34.75 kB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1274, allocations: 20.81 kB / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.497e-05/0.1275, allocations: 168.4 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1275, allocations: 4.375 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.1275, allocations: 4.312 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1277, allocations: 58.17 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1277, allocations: 7.922 kB / 0.5867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.1277, allocations: 0 / 0.5867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1277, allocations: 0 / 0.5867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1279, allocations: 51.95 kB / 0.5868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.1282, allocations: 257 kB / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1284, allocations: 54.48 kB / 0.5871 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1285, allocations: 36.84 kB / 0.5871 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1285, allocations: 0 / 0.5871 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1286, allocations: 34.55 kB / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.1286, allocations: 0 / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.1289, allocations: 105.5 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.129, allocations: 55.53 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.829e-05/0.129, allocations: 101.9 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1291, allocations: 25.7 kB / 0.5874 GB, free: 1.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.1291, allocations: 88.12 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1291, allocations: 11.84 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1292, allocations: 9.719 kB / 0.5875 GB, free: 1.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.1292, allocations: 318.8 kB / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1293, allocations: 27.91 kB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.272e-05/0.1294, allocations: 23.97 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.1296, allocations: 52.81 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1296, allocations: 3.938 kB / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.1299, allocations: 77.72 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1299, allocations: 8 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1299, allocations: 3.938 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1299, allocations: 0 / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.13, allocations: 11.98 kB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.13, allocations: 256 / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.1301, allocations: 7.984 kB / 0.588 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1301, allocations: 4 kB / 0.588 GB, free: 0.5508 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 5.72e-05/0.1302, allocations: 121.8 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1302, allocations: 4 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.1302, allocations: 7.516 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1302, allocations: 7.984 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1302, allocations: 3.938 kB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1303, allocations: 0 / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1304, allocations: 161.6 kB / 0.5883 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1304, allocations: 0 / 0.5883 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.1305, allocations: 15.98 kB / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1305, allocations: 4 kB / 0.5883 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1305, allocations: 4 kB / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1305, allocations: 0 / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1305, allocations: 0 / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1308, allocations: 179.3 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.1308, allocations: 81.14 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1308, allocations: 0 / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.1309, allocations: 7.984 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.1309, allocations: 7.938 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.131, allocations: 0 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.131, allocations: 87.27 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.1312, allocations: 4 kB / 0.5887 GB, free: 15.77 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.000456/0.1317, allocations: 0.7101 MB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.1319, allocations: 59.92 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1319, allocations: 0 / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.132, allocations: 27.97 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1323, allocations: 2.344 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.1327, allocations: 159.1 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.1329, allocations: 0.6768 MB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.1329, allocations: 4 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.1329, allocations: 11.42 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1329, allocations: 3.938 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5025/0.6354, allocations: 1.412 MB / 0.5917 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/10.1, allocations: 2.391 kB / 0.5917 GB, free: 12.69 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)