Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.001091/0.001092, allocations: 107.3 kB / 16.31 MB, free: 5.879 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.001081/0.001081, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0511/0.0511, allocations: 8.099 MB / 299.2 MB, free: 6.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 63.89 kB / 361.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.219, allocations: 51.5 MB / 413.3 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002227/0.2213, allocations: 1.397 MB / 414.7 MB, free: 24.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2226, allocations: 1.516 MB / 416.3 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.2227, allocations: 4 kB / 416.3 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.223, allocations: 111.4 kB / 416.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.2232, allocations: 99.38 kB / 416.5 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2244, allocations: 0.8868 MB / 417.4 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.2247, allocations: 195.1 kB / 417.5 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2248, allocations: 65.58 kB / 417.6 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.2248, allocations: 75.66 kB / 417.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.225, allocations: 107.5 kB / 417.8 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.225, allocations: 16 kB / 417.8 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.2253, allocations: 199.8 kB / 418 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.2253, allocations: 43.84 kB / 418 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.2254, allocations: 95.47 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.2257, allocations: 341.4 kB / 418.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2257, allocations: 3.938 kB / 418.5 MB, free: 20.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2257, allocations: 0 / 418.5 MB, free: 20.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2257, allocations: 0 / 418.5 MB, free: 20.41 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001549/0.2273, allocations: 0.6746 MB / 419.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.2273, allocations: 11.89 kB / 419.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.2274, allocations: 50.73 kB / 419.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.2274, allocations: 20.66 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.2276, allocations: 228.1 kB / 419.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2276, allocations: 20.66 kB / 419.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.2277, allocations: 16.38 kB / 419.5 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.228, allocations: 212.3 kB / 419.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.228, allocations: 3.938 kB / 419.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.228, allocations: 4 kB / 419.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.228, allocations: 4 kB / 419.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.2283, allocations: 200.8 kB / 419.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.2293, allocations: 0.8578 MB / 420.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.2299, allocations: 391.5 kB / 421.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2301, allocations: 132.8 kB / 421.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.2301, allocations: 4 kB / 421.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2302, allocations: 42.48 kB / 421.3 MB, free: 17.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.2302, allocations: 0 / 421.3 MB, free: 17.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001941/0.2321, allocations: 0.72 MB / 422 MB, free: 16.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.2321, allocations: 55.41 kB / 422.1 MB, free: 16.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.2323, allocations: 182.4 kB / 422.3 MB, free: 16.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2323, allocations: 29.7 kB / 422.3 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.2324, allocations: 128.3 kB / 422.4 MB, free: 16.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.2324, allocations: 74.84 kB / 422.5 MB, free: 16.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.2325, allocations: 61.62 kB / 422.6 MB, free: 16.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.2326, allocations: 330.8 kB / 422.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2327, allocations: 123.9 kB / 423 MB, free: 15.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2329, allocations: 123.9 kB / 423.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2332, allocations: 276.8 kB / 423.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2332, allocations: 0 / 423.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009074/0.2341, allocations: 486.4 kB / 423.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2341, allocations: 11.88 kB / 423.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2341, allocations: 3.984 kB / 423.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/0.2349, allocations: 176.7 kB / 424.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.235, allocations: 39.92 kB / 424.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.2375, allocations: 2.341 MB / 426.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2377, allocations: 23.72 kB / 426.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2377, allocations: 15.97 kB / 426.5 MB, free: 11.95 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 (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/0.2378, allocations: 133.8 kB / 426.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.2379, allocations: 15.81 kB / 426.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/0.2388, allocations: 469.3 kB / 427.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2388, allocations: 4 kB / 427.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.2388, allocations: 0 / 427.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2388, allocations: 3.984 kB / 427.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.2399, allocations: 0.8579 MB / 427.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2399, allocations: 0 / 427.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.24, allocations: 23.94 kB / 428 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006473/0.2407, allocations: 176.7 kB / 428.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2407, allocations: 8 kB / 428.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.2429, allocations: 2.339 MB / 430.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2429, allocations: 0 / 430.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.2437, allocations: 0.5192 MB / 431 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.2437, allocations: 100.8 kB / 431.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.2438, allocations: 4 kB / 431.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.244, allocations: 12.78 kB / 431.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.244, allocations: 31.84 kB / 431.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.244, allocations: 4 kB / 431.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.2441, allocations: 140.7 kB / 431.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2441, allocations: 0 / 431.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.2445, allocations: 83.91 kB / 431.4 MB, free: 6.793 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.2456, allocations: 1.068 MB / 432.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009032/0.2465, allocations: 0.4985 MB / 432.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2465, allocations: 0 / 432.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.2471, allocations: 338.5 kB / 433.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2474, allocations: 31.8 kB / 433.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.2505, allocations: 2.718 MB / 436 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2506, allocations: 0.7289 MB / 436.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.177e-05/0.2507, allocations: 29.61 kB / 436.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.2508, allocations: 51.42 kB / 436.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2508, allocations: 0 / 436.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.2811, allocations: 6.887 MB / 443.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.96, allocations: 11.61 kB / 443.7 MB, free: 10.39 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank_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_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)