Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.0007692/0.0007692, allocations: 96.16 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000768/0.0007679, allocations: 184 kB / 16.96 MB, free: 6.914 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.298/1.298, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1539/0.1539, allocations: 8.083 MB / 300.2 MB, free: 2.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003354, allocations: 8 kB / 363.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09625, allocations: 52.52 MB / 416.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.002527/0.09881, allocations: 2.323 MB / 418.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1012, allocations: 1.613 MB / 420 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.1015, allocations: 4 kB / 420.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.1019, allocations: 135.4 kB / 420.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.1026, allocations: 198.9 kB / 420.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.1048, allocations: 1.175 MB / 421.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007317/0.1056, allocations: 437.8 kB / 422 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.1058, allocations: 145.7 kB / 422.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1061, allocations: 163.3 kB / 422.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.1065, allocations: 211 kB / 422.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.1066, allocations: 20 kB / 422.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.1071, allocations: 251.8 kB / 422.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.1072, allocations: 75.61 kB / 422.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.1074, allocations: 224.6 kB / 423 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.1082, allocations: 0.5995 MB / 423.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1082, allocations: 0 / 423.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1082, allocations: 0 / 423.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1083, allocations: 0 / 423.6 MB, free: 0.7227 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.1857/0.294, allocations: 1.345 MB / 425 MB, free: 40.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.294, allocations: 8.594 kB / 425 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.2942, allocations: 71.09 kB / 425.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.882e-05/0.2943, allocations: 46.12 kB / 425.1 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.2947, allocations: 334.5 kB / 425.4 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.2947, allocations: 27 kB / 425.5 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.2948, allocations: 43.66 kB / 425.5 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.2955, allocations: 0.5109 MB / 426 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2955, allocations: 3.938 kB / 426 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.2956, allocations: 16.55 kB / 426 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2956, allocations: 7.625 kB / 426 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.2962, allocations: 453.3 kB / 426.5 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.2984, allocations: 2.125 MB / 428.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.2992, allocations: 0.5786 MB / 429.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.2995, allocations: 270.9 kB / 429.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.2996, allocations: 17.2 kB / 429.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2996, allocations: 43.31 kB / 429.5 MB, free: 38.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.2996, allocations: 0 / 429.5 MB, free: 38.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006349/0.306, allocations: 1.819 MB / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.306, allocations: 109.7 kB / 431.4 MB, free: 38.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3063, allocations: 277.7 kB / 431.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.3064, allocations: 35.83 kB / 431.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3065, allocations: 185.6 kB / 431.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.3066, allocations: 142.3 kB / 432.1 MB, free: 38.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.3067, allocations: 60.92 kB / 432.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.3067, allocations: 343.8 kB / 432.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.3071, allocations: 287.3 kB / 432.7 MB, free: 37.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.3075, allocations: 338.4 kB / 433.1 MB, free: 37.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.3082, allocations: 0.6253 MB / 433.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3082, allocations: 0 / 433.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003235/0.3115, allocations: 1.249 MB / 435 MB, free: 37.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3115, allocations: 5.938 kB / 435 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3115, allocations: 0 / 435 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/0.315, allocations: 0.7848 MB / 435.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.3154, allocations: 90.84 kB / 435.8 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006012/0.3214, allocations: 3.721 MB / 439.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.3219, allocations: 48.11 kB / 439.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.322, allocations: 20.47 kB / 439.6 MB, free: 34.88 MB / 350.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.3222, allocations: 165.7 kB / 439.8 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.3223, allocations: 39.72 kB / 439.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.3255, allocations: 1.19 MB / 441 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3255, allocations: 10.12 kB / 441 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3255, allocations: 3.938 kB / 441 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3255, allocations: 0 / 441 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.329, allocations: 1.798 MB / 442.8 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3291, allocations: 0 / 442.8 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.3293, allocations: 63.72 kB / 442.9 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/0.3326, allocations: 0.7509 MB / 443.6 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.3327, allocations: 14.97 kB / 443.6 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.3383, allocations: 3.671 MB / 447.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3383, allocations: 4 kB / 447.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.3413, allocations: 1.211 MB / 448.5 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.3414, allocations: 124.3 kB / 448.7 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.3415, allocations: 11.06 kB / 448.7 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.3419, allocations: 29.45 kB / 448.7 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.342, allocations: 41.23 kB / 448.7 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.342, allocations: 19.59 kB / 448.8 MB, free: 30.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3422, allocations: 192.2 kB / 448.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3422, allocations: 3.188 kB / 448.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006/0.3428, allocations: 184.7 kB / 449.1 MB, free: 29.88 MB / 350.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 (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003196/0.346, allocations: 1.777 MB / 450.9 MB, free: 28.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.3482, allocations: 0.9993 MB / 451.9 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3482, allocations: 3.125 kB / 451.9 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.3497, allocations: 0.654 MB / 452.6 MB, free: 28.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.3502, allocations: 42.31 kB / 452.6 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/0.3589, allocations: 5.321 MB / 457.9 MB, free: 25.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3592, allocations: 0.8139 MB / 458.7 MB, free: 24.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3594, allocations: 49.16 kB / 458.8 MB, free: 24.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.3596, allocations: 138.5 kB / 458.9 MB, free: 24.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.235e-06/0.3596, allocations: 0 / 458.9 MB, free: 24.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.3897, allocations: 13.77 MB / 472.7 MB, free: 22.78 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.39, allocations: 272.5 kB / 473 MB, free: 22.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.235, allocations: 0 / 473 MB, free: 22.42 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)