Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.001164/0.001164, allocations: 100.8 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.001099/0.001099, allocations: 190.7 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.332/1.332, 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.0461/0.0461, allocations: 8.09 MB / 299.2 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.88 kB / 361.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2142, allocations: 51.51 MB / 413.3 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002676/0.2169, allocations: 1.274 MB / 414.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2184, allocations: 1.244 MB / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.2185, allocations: 0 / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.2189, allocations: 111.5 kB / 416 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.2191, allocations: 63.59 kB / 416 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2204, allocations: 0.7272 MB / 416.8 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.2207, allocations: 135.4 kB / 416.9 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2208, allocations: 65.34 kB / 417 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.2209, allocations: 63.72 kB / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.221, allocations: 63.75 kB / 417.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.221, allocations: 12 kB / 417.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.2214, allocations: 139.9 kB / 417.2 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.2214, allocations: 39.8 kB / 417.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.2215, allocations: 63.72 kB / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.2219, allocations: 253.5 kB / 417.6 MB, free: 21.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2219, allocations: 4 kB / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2219, allocations: 0 / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2219, allocations: 0 / 417.6 MB, free: 21.32 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001518/0.2234, allocations: 0.5575 MB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2235, allocations: 11.89 kB / 418.1 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.2235, allocations: 46.73 kB / 418.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.2236, allocations: 16.75 kB / 418.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2238, allocations: 204.2 kB / 418.4 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2238, allocations: 12.38 kB / 418.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.2239, allocations: 12.38 kB / 418.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.2242, allocations: 154.1 kB / 418.6 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2242, allocations: 11.88 kB / 418.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.2243, allocations: 8 kB / 418.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2243, allocations: 4 kB / 418.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.2245, allocations: 112 kB / 418.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.2254, allocations: 0.5235 MB / 419.2 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2264, allocations: 150.5 kB / 419.4 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.2265, allocations: 40.8 kB / 419.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.2266, allocations: 85.09 kB / 419.5 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2267, allocations: 42.56 kB / 419.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.504e-06/0.2267, allocations: 0 / 419.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001381/0.228, allocations: 347.4 kB / 419.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2281, allocations: 59.34 kB / 419.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.2282, allocations: 133.8 kB / 420.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2282, allocations: 25.7 kB / 420.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.2283, allocations: 124 kB / 420.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2283, allocations: 31.56 kB / 420.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.2284, allocations: 33.7 kB / 420.3 MB, free: 18.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.2284, allocations: 318.8 kB / 420.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.2285, allocations: 39.98 kB / 420.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2287, allocations: 57.7 kB / 420.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.2289, allocations: 101.7 kB / 420.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2289, allocations: 8 kB / 420.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006256/0.2295, allocations: 210.1 kB / 421 MB, free: 17.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2295, allocations: 4 kB / 421 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.2296, allocations: 3.984 kB / 421 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/0.2301, allocations: 76.81 kB / 421.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.2302, allocations: 19.98 kB / 421.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.232, allocations: 1.652 MB / 422.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2321, allocations: 3.906 kB / 422.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2321, allocations: 8 kB / 422.8 MB, free: 15.68 MB / 302.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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/0.2322, allocations: 121.8 kB / 422.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.2323, allocations: 8.281 kB / 422.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.2329, allocations: 214.7 kB / 423.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2329, allocations: 0 / 423.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.233, allocations: 4 kB / 423.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.233, allocations: 7.875 kB / 423.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.2332, allocations: 229.4 kB / 423.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2333, allocations: 0 / 423.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.2333, allocations: 8 kB / 423.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.2338, allocations: 80.77 kB / 423.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2338, allocations: 4 kB / 423.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.2353, allocations: 1.637 MB / 425.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2353, allocations: 0 / 425.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.2357, allocations: 280.1 kB / 425.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.2358, allocations: 84.95 kB / 425.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2358, allocations: 8.062 kB / 425.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2359, allocations: 4 kB / 425.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.236, allocations: 7.984 kB / 425.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.236, allocations: 8 kB / 425.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.236, allocations: 106.4 kB / 425.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.236, allocations: 0 / 425.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.2364, allocations: 47.92 kB / 425.6 MB, free: 12.6 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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006704/0.237, allocations: 0.8302 MB / 426.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.2377, allocations: 258.7 kB / 426.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2377, allocations: 0 / 426.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.238, allocations: 202.7 kB / 426.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2383, allocations: 11.38 kB / 426.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.2401, allocations: 1.775 MB / 428.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2403, allocations: 0.708 MB / 429.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.2403, allocations: 12.7 kB / 429.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.2404, allocations: 39.42 kB / 429.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2404, allocations: 0 / 429.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.2632, allocations: 3.467 MB / 432.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.271/9.534, allocations: 17.84 kB / 432.9 MB, free: 5.18 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OnePerfectLine_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_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)