Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.0011/0.0011, allocations: 101.5 kB / 16.31 MB, free: 6.391 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.001071/0.001071, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04581/0.04581, allocations: 8.093 MB / 299.2 MB, free: 6.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 361.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2084, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002229/0.2106, allocations: 0.9849 MB / 414.3 MB, free: 24.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.2116, allocations: 1.103 MB / 415.4 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.2117, allocations: 0 / 415.4 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.2119, allocations: 59.7 kB / 415.5 MB, free: 23.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.2121, allocations: 35.77 kB / 415.5 MB, free: 23.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.2126, allocations: 322.6 kB / 415.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.2127, allocations: 75.66 kB / 415.9 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2128, allocations: 35.98 kB / 416 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.2129, allocations: 31.84 kB / 416 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.213, allocations: 47.78 kB / 416 MB, free: 22.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.213, allocations: 4 kB / 416 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2132, allocations: 79.95 kB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.2132, allocations: 19.86 kB / 416.1 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.2133, allocations: 39.8 kB / 416.2 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.2135, allocations: 145.8 kB / 416.3 MB, free: 22.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2135, allocations: 4 kB / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2135, allocations: 0 / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.2135, allocations: 0 / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006697/0.2142, allocations: 411.2 kB / 416.7 MB, free: 22.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2142, allocations: 15.89 kB / 416.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.2143, allocations: 38.73 kB / 416.8 MB, free: 22.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.2143, allocations: 12.84 kB / 416.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2144, allocations: 180.2 kB / 417 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2145, allocations: 12.36 kB / 417 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2145, allocations: 8.375 kB / 417 MB, free: 21.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2146, allocations: 81.33 kB / 417.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2147, allocations: 3.938 kB / 417.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2147, allocations: 8 kB / 417.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2147, allocations: 3.938 kB / 417.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.401e-05/0.2148, allocations: 43.98 kB / 417.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.2152, allocations: 372.5 kB / 417.5 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.2155, allocations: 70.62 kB / 417.6 MB, free: 21.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.2155, allocations: 24.92 kB / 417.6 MB, free: 21.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.2156, allocations: 85.09 kB / 417.7 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.2156, allocations: 34.56 kB / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.2156, allocations: 0 / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004627/0.2161, allocations: 195.4 kB / 417.9 MB, free: 20.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.2162, allocations: 59.41 kB / 417.9 MB, free: 20.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.2162, allocations: 125.7 kB / 418.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2163, allocations: 25.7 kB / 418.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.2163, allocations: 108 kB / 418.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.2163, allocations: 11.81 kB / 418.2 MB, free: 20.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.2163, allocations: 17.7 kB / 418.2 MB, free: 20.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.2164, allocations: 318.8 kB / 418.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.2164, allocations: 11.98 kB / 418.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.2165, allocations: 12 kB / 418.6 MB, free: 20.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.2165, allocations: 24.86 kB / 418.6 MB, free: 20.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2165, allocations: 0 / 418.6 MB, free: 20.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001627/0.2167, allocations: 98.69 kB / 418.7 MB, free: 19.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.2167, allocations: 4 kB / 418.7 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2167, allocations: 4.062 kB / 418.7 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.2169, allocations: 28.83 kB / 418.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-05/0.2169, allocations: 4 kB / 418.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007412/0.2177, allocations: 1.379 MB / 420.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.2177, allocations: 12.19 kB / 420.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2177, allocations: 0 / 420.1 MB, free: 18.39 MB / 302.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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.2178, allocations: 113.8 kB / 420.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2178, allocations: 7.906 kB / 420.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.218, allocations: 102.4 kB / 420.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2181, allocations: 0 / 420.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.2181, allocations: 0 / 420.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2181, allocations: 4 kB / 420.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2182, allocations: 185.6 kB / 420.5 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2182, allocations: 7.938 kB / 420.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.2182, allocations: 4 kB / 420.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.2184, allocations: 28.83 kB / 420.6 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.2184, allocations: 3.938 kB / 420.6 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006608/0.219, allocations: 1.383 MB / 421.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2191, allocations: 0 / 421.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.2192, allocations: 192.2 kB / 422.1 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.2193, allocations: 85.05 kB / 422.2 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.2193, allocations: 384 / 422.2 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.2194, allocations: 11.98 kB / 422.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.2194, allocations: 8 kB / 422.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2194, allocations: 7.938 kB / 422.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.2195, allocations: 99.27 kB / 422.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2195, allocations: 0 / 422.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.2198, allocations: 19.91 kB / 422.4 MB, free: 15.9 MB / 302.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003749/0.2201, allocations: 0.7289 MB / 423.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.2204, allocations: 150.7 kB / 423.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2204, allocations: 0 / 423.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2206, allocations: 154.5 kB / 423.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2209, allocations: 14.12 kB / 423.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.222, allocations: 1.418 MB / 424.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.2222, allocations: 0.6963 MB / 425.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.2222, allocations: 8 kB / 425.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.2222, allocations: 19.44 kB / 425.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2222, allocations: 0 / 425.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.2423, allocations: 2.442 MB / 428 MB, free: 10.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.205/9.447, allocations: 8.062 kB / 428 MB, free: 10.15 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)