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.004678/0.004678, allocations: 91.38 kB / 15.91 MB, free: 6.312 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.001251/0.001252, allocations: 193.4 kB / 16.83 MB, free: 6.242 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.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1402/0.1402, allocations: 8.088 MB / 298.7 MB, free: 2.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001162, allocations: 63.89 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07907/0.08025, allocations: 51.51 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003478/0.08376, allocations: 2.701 MB / 415.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.08586, allocations: 1.633 MB / 417 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.08612, allocations: 8 kB / 417 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.08657, allocations: 143.4 kB / 417.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.08709, allocations: 194.9 kB / 417.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.08902, allocations: 1.195 MB / 418.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.08953, allocations: 441.8 kB / 419 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.08975, allocations: 145.7 kB / 419.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.08996, allocations: 179.3 kB / 419.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.09026, allocations: 227 kB / 419.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.09033, allocations: 28 kB / 419.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.09078, allocations: 263.8 kB / 419.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.09086, allocations: 83.61 kB / 419.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.09106, allocations: 206.9 kB / 420.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.09171, allocations: 0.627 MB / 420.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09172, allocations: 0 / 420.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.09173, allocations: 0 / 420.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.09174, allocations: 3.938 kB / 420.7 MB, free: 2 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.00483/0.09658, allocations: 1.404 MB / 422.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.09662, allocations: 8.031 kB / 422.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.811e-05/0.09672, allocations: 74.72 kB / 422.2 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.09683, allocations: 48.47 kB / 422.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.0972, allocations: 335.5 kB / 422.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.09723, allocations: 29.03 kB / 422.6 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.09731, allocations: 36.45 kB / 422.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.09809, allocations: 0.5101 MB / 423.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.09811, allocations: 7.875 kB / 423.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.09816, allocations: 16 kB / 423.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.09818, allocations: 12 kB / 423.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.09883, allocations: 446.4 kB / 423.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.1014, allocations: 2.106 MB / 425.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.1023, allocations: 0.5893 MB / 426.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.1027, allocations: 276.8 kB / 426.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-05/0.1028, allocations: 12 kB / 426.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1028, allocations: 46.48 kB / 426.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.1028, allocations: 0 / 426.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006403/0.1092, allocations: 1.826 MB / 428.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.1093, allocations: 106.8 kB / 428.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.1095, allocations: 278.8 kB / 428.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.1096, allocations: 33.7 kB / 428.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1097, allocations: 180.6 kB / 429 MB, free: 9.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1098, allocations: 149.8 kB / 429.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.11, allocations: 106.2 kB / 429.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1101, allocations: 338.8 kB / 429.6 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.1106, allocations: 293 kB / 429.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.111, allocations: 336.7 kB / 430.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009005/0.1119, allocations: 0.6256 MB / 430.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1119, allocations: 4 kB / 430.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003233/0.1152, allocations: 1.237 MB / 432.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1152, allocations: 7.938 kB / 432.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1152, allocations: 0 / 432.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/0.1186, allocations: 0.7867 MB / 432.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.1189, allocations: 83.89 kB / 433 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04233/0.1613, allocations: 3.72 MB / 436.7 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.1619, allocations: 63.42 kB / 436.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.162, allocations: 19.98 kB / 436.8 MB, free: 1.297 MB / 366.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.0002399/0.1622, allocations: 161.8 kB / 436.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1623, allocations: 35.56 kB / 437 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1516/0.314, allocations: 1.191 MB / 438.2 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.314, allocations: 8.594 kB / 438.2 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.314, allocations: 0 / 438.2 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.314, allocations: 2.062 kB / 438.2 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.3178, allocations: 1.793 MB / 440 MB, free: 56.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3178, allocations: 0.8125 kB / 440 MB, free: 56.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.3181, allocations: 65.02 kB / 440 MB, free: 56.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/0.3212, allocations: 0.7451 MB / 440.8 MB, free: 56.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.3213, allocations: 9.781 kB / 440.8 MB, free: 56.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005493/0.3268, allocations: 3.671 MB / 444.5 MB, free: 54.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3268, allocations: 3.328 kB / 444.5 MB, free: 54.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.3296, allocations: 1.213 MB / 445.7 MB, free: 54.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.3297, allocations: 124 kB / 445.8 MB, free: 53.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.3298, allocations: 14.86 kB / 445.8 MB, free: 53.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.3301, allocations: 21.31 kB / 445.8 MB, free: 53.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3302, allocations: 38.09 kB / 445.9 MB, free: 53.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.3303, allocations: 18.03 kB / 445.9 MB, free: 53.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3304, allocations: 192.9 kB / 446.1 MB, free: 53.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3304, allocations: 0 / 446.1 MB, free: 53.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005319/0.331, allocations: 188.3 kB / 446.3 MB, free: 53.81 MB / 366.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.003046/0.334, allocations: 1.778 MB / 448 MB, free: 52.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.336, allocations: 1.007 MB / 449 MB, free: 52.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.336, allocations: 4.344 kB / 449 MB, free: 52.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.3374, allocations: 0.6516 MB / 449.7 MB, free: 52.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3378, allocations: 32.92 kB / 449.7 MB, free: 52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008047/0.3459, allocations: 5.305 MB / 455 MB, free: 49.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.3461, allocations: 0.8158 MB / 455.8 MB, free: 48.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.3462, allocations: 59.03 kB / 455.9 MB, free: 48.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3464, allocations: 139.3 kB / 456 MB, free: 48.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3464, allocations: 0 / 456 MB, free: 48.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6679/1.014, allocations: 14.07 MB / 470.1 MB, free: 47.26 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.015, allocations: 264.5 kB / 470.4 MB, free: 46.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.868, allocations: 0 / 470.4 MB, free: 46.91 MB / 366.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)