Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.001368/0.001368, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001626/0.001626, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.204/2.204, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.495/1.495, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004974, allocations: 12 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 82.32 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002026/0.2085, allocations: 1.144 MB / 0.5884 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.2095, allocations: 356 kB / 0.5887 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.2095, allocations: 0 / 0.5887 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.2096, allocations: 3.938 kB / 0.5887 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.2096, allocations: 4 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.2101, allocations: 67.78 kB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.2101, allocations: 23.97 kB / 0.5888 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.2102, allocations: 3.938 kB / 0.5888 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.2103, allocations: 11.94 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.2104, allocations: 7.984 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2104, allocations: 0 / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005572/0.2109, allocations: 259.6 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.211, allocations: 7.938 kB / 0.5891 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.211, allocations: 29.7 kB / 0.5891 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2112, allocations: 63.88 kB / 0.5892 GB, free: 1.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2112, allocations: 4 kB / 0.5892 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2112, allocations: 4 kB / 0.5892 GB, free: 1.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2113, allocations: 0 / 0.5892 GB, free: 1.004 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.0005836/0.2119, allocations: 367.5 kB / 0.5896 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2119, allocations: 12.03 kB / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.212, allocations: 30.56 kB / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.212, allocations: 4 kB / 0.5896 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2122, allocations: 174.9 kB / 0.5898 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2122, allocations: 4 kB / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2122, allocations: 0 / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.2125, allocations: 57.61 kB / 0.5898 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2125, allocations: 0 / 0.5898 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2125, allocations: 4 kB / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2126, allocations: 0 / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.2128, allocations: 47.95 kB / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.2133, allocations: 252.9 kB / 0.5901 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.2135, allocations: 46.56 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.2146, allocations: 461.5 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2146, allocations: 34.56 kB / 0.5906 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.2147, allocations: 0 / 0.5906 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006602/0.2153, allocations: 97.75 kB / 0.5907 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2154, allocations: 55.39 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.2155, allocations: 101.9 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2155, allocations: 25.7 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.2156, allocations: 92.12 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.2156, allocations: 7.844 kB / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.2157, allocations: 0 / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2158, allocations: 314.8 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.216, allocations: 28.02 kB / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.2161, allocations: 23.92 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2163, allocations: 28.03 kB / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2163, allocations: 0 / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003903/0.2167, allocations: 69.67 kB / 0.5914 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2168, allocations: 8 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2168, allocations: 7.922 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2168, allocations: 4.031 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.217, allocations: 12 kB / 0.5915 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.217, allocations: 3.938 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.2171, allocations: 15.89 kB / 0.5915 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2171, allocations: 0 / 0.5915 GB, free: 14.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.2173, allocations: 112.4 kB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.2173, allocations: 4 kB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.2177, allocations: 89.12 kB / 0.5917 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2178, allocations: 7.969 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2178, allocations: 0 / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2178, allocations: 0 / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.218, allocations: 165.7 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2181, allocations: 0 / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2182, allocations: 11.98 kB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2182, allocations: 0 / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2182, allocations: 256 / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.2182, allocations: 4 kB / 0.5919 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2182, allocations: 4 kB / 0.5919 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.2186, allocations: 179.4 kB / 0.592 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.2187, allocations: 81.02 kB / 0.5921 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2187, allocations: 4 kB / 0.5921 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2189, allocations: 7.984 kB / 0.5921 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.219, allocations: 4.031 kB / 0.5921 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.219, allocations: 4 kB / 0.5921 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.8e-05/0.2191, allocations: 87.27 kB / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2191, allocations: 0 / 0.5922 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004523/0.2195, allocations: 12 kB / 0.5922 GB, free: 13.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008728/0.2204, allocations: 0.7202 MB / 0.5929 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.2208, allocations: 51.94 kB / 0.593 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2208, allocations: 4 kB / 0.593 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.221, allocations: 19.98 kB / 0.593 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2213, allocations: 4 kB / 0.593 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.222, allocations: 158.4 kB / 0.5932 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.2223, allocations: 0.6809 MB / 0.5938 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.2223, allocations: 0 / 0.5938 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.2224, allocations: 7.438 kB / 0.5938 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.2224, allocations: 3.938 kB / 0.5938 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.2401, allocations: 1.304 MB / 0.5951 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/0.2404, allocations: 169.6 kB / 0.5953 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/2.797, allocations: 0 / 0.5953 GB, free: 10.33 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: