Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.00123/0.00123, allocations: 109.5 kB / 16.32 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.001666/0.001666, 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.384/1.384, 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.04669/0.04669, allocations: 8.106 MB / 299.2 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.91 kB / 361.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.199, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003154/0.2022, allocations: 2.793 MB / 416.1 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2039, allocations: 1.748 MB / 417.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.204, allocations: 11.88 kB / 417.9 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.2044, allocations: 179 kB / 418.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.2048, allocations: 258.3 kB / 418.3 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2064, allocations: 1.12 MB / 419.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004054/0.2068, allocations: 0.5054 MB / 419.9 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.207, allocations: 160.3 kB / 420.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2071, allocations: 211.2 kB / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.2073, allocations: 262.9 kB / 420.6 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.2074, allocations: 44 kB / 420.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.2077, allocations: 259.7 kB / 420.9 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.2078, allocations: 107.5 kB / 421 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.208, allocations: 246.7 kB / 421.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.2085, allocations: 0.666 MB / 421.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2085, allocations: 0 / 421.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2085, allocations: 3.938 kB / 421.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2085, allocations: 4 kB / 421.9 MB, free: 17.01 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005644/0.2142, allocations: 1.646 MB / 423.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2142, allocations: 19.88 kB / 423.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.356e-05/0.2143, allocations: 74.66 kB / 423.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2144, allocations: 56.28 kB / 423.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2147, allocations: 364 kB / 424 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2148, allocations: 29.38 kB / 424.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.2148, allocations: 48.38 kB / 424.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.2156, allocations: 0.5969 MB / 424.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2156, allocations: 0 / 424.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.2156, allocations: 20 kB / 424.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2156, allocations: 8 kB / 424.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.2163, allocations: 0.5505 MB / 425.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.2187, allocations: 2.231 MB / 427.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009098/0.2196, allocations: 0.8848 MB / 428.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.22, allocations: 398.5 kB / 428.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.2212, allocations: 1.338 MB / 430.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2212, allocations: 39 kB / 430.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.573e-06/0.2213, allocations: 0 / 430.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.008981/0.2302, allocations: 2.65 MB / 432.8 MB, free: 5.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2303, allocations: 119.2 kB / 432.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.2306, allocations: 345.4 kB / 433.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.2306, allocations: 37.7 kB / 433.3 MB, free: 5.043 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.2307, allocations: 201 kB / 433.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.649e-05/0.2308, allocations: 181.4 kB / 433.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.231, allocations: 142.5 kB / 433.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2311, allocations: 354.8 kB / 434.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.2316, allocations: 397.9 kB / 434.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.2321, allocations: 0.5128 MB / 435.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2331, allocations: 0.9453 MB / 436 MB, free: 2.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2331, allocations: 0 / 436 MB, free: 2.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004214/0.2373, allocations: 1.789 MB / 437.8 MB, free: 460 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2374, allocations: 4 kB / 437.8 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2374, allocations: 7.938 kB / 437.8 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004645/0.242, allocations: 1.106 MB / 438.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.2425, allocations: 115.8 kB / 439 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009007/0.2515, allocations: 5.241 MB / 444.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.2521, allocations: 75.2 kB / 444.3 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.2522, allocations: 28 kB / 444.4 MB, free: 9.734 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.2524, allocations: 181.8 kB / 444.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2525, allocations: 43.44 kB / 444.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.257, allocations: 1.624 MB / 446.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.257, allocations: 8 kB / 446.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2571, allocations: 4 kB / 446.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.2571, allocations: 3.984 kB / 446.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.2577, allocations: 0.6698 MB / 446.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2578, allocations: 0 / 446.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.258, allocations: 63.91 kB / 447 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004662/0.2627, allocations: 1.033 MB / 448 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.2627, allocations: 12 kB / 448 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008641/0.2714, allocations: 5.206 MB / 453.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2714, allocations: 0 / 453.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.2758, allocations: 1.627 MB / 454.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2759, allocations: 124.5 kB / 455 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/0.276, allocations: 15.91 kB / 455 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.2764, allocations: 26.17 kB / 455 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.2766, allocations: 48.44 kB / 455.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.2767, allocations: 23.98 kB / 455.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.2769, allocations: 223.2 kB / 455.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2769, allocations: 0 / 455.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007847/0.2777, allocations: 232 kB / 455.5 MB, free: 14.34 MB / 334.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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/0.2823, allocations: 2.199 MB / 457.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003051/0.2854, allocations: 1.356 MB / 459.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2854, allocations: 3.938 kB / 459.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.2875, allocations: 0.8151 MB / 459.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.2879, allocations: 44.38 kB / 459.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.3009, allocations: 6.71 MB / 466.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.3014, allocations: 0.8333 MB / 467.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.3016, allocations: 63.23 kB / 467.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.3018, allocations: 151.4 kB / 467.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3018, allocations: 0 / 467.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.3625, allocations: 17.34 MB / 485 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.38, allocations: 7.609 kB / 485 MB, free: 0.7656 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)