Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.001292/0.001293, allocations: 103.5 kB / 16.31 MB, free: 6.359 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.001106/0.001106, allocations: 186.6 kB / 17.24 MB, free: 5.879 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.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05088/0.05088, allocations: 8.097 MB / 299.2 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 59.91 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2993, allocations: 51.52 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.003085/0.3025, allocations: 1.275 MB / 414.6 MB, free: 24.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3041, allocations: 1.244 MB / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.3043, allocations: 0 / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.3047, allocations: 107.5 kB / 416 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.3051, allocations: 63.61 kB / 416 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3062, allocations: 0.7311 MB / 416.8 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.3064, allocations: 135.4 kB / 416.9 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3066, allocations: 69.33 kB / 417 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.3067, allocations: 55.8 kB / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.3068, allocations: 63.75 kB / 417.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3068, allocations: 12 kB / 417.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.3071, allocations: 143.9 kB / 417.2 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.3071, allocations: 35.8 kB / 417.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.3072, allocations: 63.67 kB / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3076, allocations: 257.6 kB / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3076, allocations: 4 kB / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3076, allocations: 0 / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.3076, 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.001233/0.3089, allocations: 0.5536 MB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3089, allocations: 11.89 kB / 418.1 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.309, allocations: 50.67 kB / 418.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.309, allocations: 16.75 kB / 418.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3092, allocations: 204.2 kB / 418.4 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3092, allocations: 12.38 kB / 418.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3092, allocations: 12.38 kB / 418.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.3095, allocations: 150.1 kB / 418.6 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3095, allocations: 7.922 kB / 418.6 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3095, allocations: 11.98 kB / 418.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3095, allocations: 4 kB / 418.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.3097, allocations: 112 kB / 418.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.3103, allocations: 0.5118 MB / 419.2 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.3111, allocations: 158.4 kB / 419.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.3112, allocations: 44.8 kB / 419.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3113, allocations: 85.09 kB / 419.5 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3113, allocations: 34.56 kB / 419.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3113, allocations: 7.938 kB / 419.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001091/0.3124, allocations: 351.4 kB / 419.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3125, allocations: 55.34 kB / 419.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.3126, allocations: 133.8 kB / 420.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3126, allocations: 25.7 kB / 420.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.3126, allocations: 128 kB / 420.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.3127, allocations: 27.56 kB / 420.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3127, allocations: 37.7 kB / 420.3 MB, free: 18.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.3128, allocations: 318.8 kB / 420.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.3128, allocations: 39.98 kB / 420.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.3129, allocations: 57.7 kB / 420.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3131, allocations: 101.7 kB / 420.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3131, allocations: 0 / 420.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004236/0.3135, allocations: 214.2 kB / 421 MB, free: 17.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3135, allocations: 4 kB / 421 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3135, allocations: 0 / 421 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/0.3139, allocations: 80.8 kB / 421.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.314, allocations: 19.92 kB / 421.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.3154, allocations: 1.641 MB / 422.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.3154, allocations: 12 kB / 422.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3155, allocations: 8 kB / 422.8 MB, free: 15.69 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 8.423e-05/0.3156, allocations: 122.5 kB / 422.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3156, allocations: 7.906 kB / 422.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.3161, allocations: 214.7 kB / 423.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3161, allocations: 0 / 423.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.3161, allocations: 3.938 kB / 423.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3161, allocations: 4 kB / 423.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3163, allocations: 229.4 kB / 423.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3163, allocations: 3.984 kB / 423.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.3164, allocations: 8 kB / 423.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003162/0.3167, allocations: 80.77 kB / 423.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3167, allocations: 4 kB / 423.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.3179, allocations: 1.633 MB / 425.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3179, allocations: 4.062 kB / 425.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.3184, allocations: 280.1 kB / 425.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.3184, allocations: 89.33 kB / 425.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3184, allocations: 4 kB / 425.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.3185, allocations: 8 kB / 425.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.3186, allocations: 11.92 kB / 425.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3186, allocations: 11.88 kB / 425.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.953e-05/0.3186, allocations: 98.64 kB / 425.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3186, allocations: 0 / 425.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.3189, allocations: 47.94 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.000641/0.3196, allocations: 0.8262 MB / 426.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005834/0.3202, allocations: 262.7 kB / 426.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3202, allocations: 4 kB / 426.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3205, allocations: 198.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.0002273/0.3207, allocations: 8 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.001879/0.3226, allocations: 1.776 MB / 428.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.3228, allocations: 0.7119 MB / 429.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.3229, allocations: 8.75 kB / 429.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.3229, allocations: 43.42 kB / 429.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3229, allocations: 0 / 429.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.3455, allocations: 3.461 MB / 432.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.213/9.559, allocations: 16.5 kB / 432.9 MB, free: 5.176 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLine_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_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)