Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.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/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_dev_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_dev_PowerGrids_Functions_Test_TestTimeConstants",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.0009497/0.0009494, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001233/0.001233, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.168/0.168, allocations: 14.18 MB / 305.3 MB, free: 1.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002573, allocations: 8 kB / 369.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08385, allocations: 53.93 MB / 423.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0004623/0.08435, allocations: 198.5 kB / 423.9 MB, free: 452 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002478/0.08461, allocations: 111.6 kB / 424 MB, free: 340 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.08463, allocations: 0 / 424 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.235e-06/0.08465, allocations: 4 kB / 424 MB, free: 336 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.08485, allocations: 23.97 kB / 424 MB, free: 312 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.405e-06/0.08485, allocations: 0 / 424 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.494e-05/0.08488, allocations: 3.938 kB / 424 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.08492, allocations: 4 kB / 424.1 MB, free: 304 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.041e-05/0.08494, allocations: 0 / 424.1 MB, free: 304 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.08503, allocations: 8 kB / 424.1 MB, free: 296 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-06/0.08504, allocations: 0 / 424.1 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.826e-06/0.08505, allocations: 0 / 424.1 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-06/0.08506, allocations: 4 kB / 424.1 MB, free: 292 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.08508, allocations: 29.69 kB / 424.1 MB, free: 256 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 1.643e-05/0.0851, allocations: 0 / 424.1 MB, free: 256 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.08511, allocations: 0 / 424.1 MB, free: 256 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08512, allocations: 0 / 424.1 MB, free: 256 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.08512, allocations: 0 / 424.1 MB, free: 256 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.1521/0.2373, allocations: 306.8 kB / 424.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2373, allocations: 8.406 kB / 424.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.2373, allocations: 33.52 kB / 424.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.2374, allocations: 3.469 kB / 424.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.746e-05/0.2374, allocations: 163.9 kB / 424.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.2375, allocations: 3.281 kB / 424.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.2375, allocations: 0.5938 kB / 424.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.2376, allocations: 46.84 kB / 424.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2376, allocations: 0.9688 kB / 424.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.2376, allocations: 3.125 kB / 424.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2376, allocations: 6.047 kB / 424.7 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.2376, allocations: 1.844 kB / 424.7 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.2379, allocations: 469.6 kB / 425.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.2379, allocations: 168.3 kB / 425.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.2379, allocations: 81.8 kB / 425.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.238, allocations: 76.28 kB / 425.4 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.238, allocations: 117.6 kB / 425.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.238, allocations: 1.438 kB / 425.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.87e-05/0.2381, allocations: 27.55 kB / 425.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.2381, allocations: 128.1 kB / 425.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.2381, allocations: 98.97 kB / 425.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-06/0.2382, allocations: 30.59 kB / 425.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.2382, allocations: 88 kB / 425.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-06/0.2382, allocations: 3.781 kB / 425.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.2382, allocations: 0 / 425.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.2382, allocations: 314.6 kB / 426.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-06/0.2382, allocations: 1.625 kB / 426.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.2383, allocations: 15.41 kB / 426.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.677e-05/0.2383, allocations: 9.094 kB / 426.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2383, allocations: 0 / 426.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.192e-05/0.2384, allocations: 38.27 kB / 426.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2384, allocations: 6.531 kB / 426.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2384, allocations: 3.953 kB / 426.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2384, allocations: 6.281 kB / 426.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.2385, allocations: 0.6562 kB / 426.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2385, allocations: 4.406 kB / 426.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.2385, allocations: 8.266 kB / 426.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2385, allocations: 3.688 kB / 426.3 MB, free: 35.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 4.785e-05/0.2386, allocations: 188.5 kB / 426.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.2386, allocations: 104.2 kB / 426.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.2386, allocations: 108.8 kB / 426.7 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.2387, allocations: 187.7 kB / 426.9 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.68e-05/0.2387, allocations: 179.6 kB / 427.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.2387, allocations: 184.1 kB / 427.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.2388, allocations: 398.6 kB / 427.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.2389, allocations: 110.3 kB / 427.7 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.2389, allocations: 107.6 kB / 427.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.939e-05/0.2389, allocations: 178.8 kB / 428 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.2389, allocations: 181.8 kB / 428.2 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-05/0.239, allocations: 186.4 kB / 428.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.451e-05/0.239, allocations: 187.5 kB / 428.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.439e-05/0.2391, allocations: 302.3 kB / 428.9 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.2391, allocations: 187 kB / 429 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2391, allocations: 181.2 kB / 429.2 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.2392, allocations: 106 kB / 429.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.2392, allocations: 184.7 kB / 429.5 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2392, allocations: 105.2 kB / 429.6 MB, free: 32.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.449e-05/0.2392, allocations: 80.66 kB / 429.7 MB, free: 32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2392, allocations: 0 / 429.7 MB, free: 32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.2395, allocations: 5.531 kB / 429.7 MB, free: 32 MB / 350.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 (0): * Single equations (assignments): 0 * 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.0001668/0.2396, allocations: 0.7934 MB / 430.5 MB, free: 31.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.421e-05/0.2397, allocations: 10.25 kB / 430.5 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2397, allocations: 0.7812 kB / 430.5 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2397, allocations: 4 kB / 430.5 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2399, allocations: 0.5224 MB / 431 MB, free: 30.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.2402, allocations: 183.2 kB / 431.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.2403, allocations: 0.6725 MB / 431.9 MB, free: 29.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.402e-05/0.2403, allocations: 5.875 kB / 431.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.2403, allocations: 8.984 kB / 431.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2403, allocations: 0 / 431.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009456/0.2498, allocations: 0.715 MB / 432.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.25, allocations: 183 kB / 432.8 MB, free: 29.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.294/1.544, allocations: 4 kB / 432.8 MB, free: 29.41 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)