Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 177.9 kB / 23.25 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8968/0.8968, allocations: 177.1 MB / 203.6 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02205/0.02205, allocations: 4.471 MB / 264.5 MB, free: 8.77 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.07e-05, allocations: 2.281 kB / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001837/0.001858, allocations: 1.442 MB / 391 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.003345, allocations: 1.544 MB / 392.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.003435, allocations: 4 kB / 392.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.003725, allocations: 123.2 kB / 392.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.003989, allocations: 139 kB / 392.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.005153, allocations: 1.077 MB / 393.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.005418, allocations: 242.7 kB / 394.2 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.005542, allocations: 56.41 kB / 394.2 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005648, allocations: 135.6 kB / 394.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.005774, allocations: 103.6 kB / 394.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.005799, allocations: 20 kB / 394.5 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.006097, allocations: 239.7 kB / 394.7 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.00613, allocations: 55.75 kB / 394.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.00619, allocations: 79.77 kB / 394.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.006607, allocations: 462.6 kB / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.006608, allocations: 0 / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006609, allocations: 0 / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.006613, allocations: 0 / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001691/0.008304, allocations: 0.852 MB / 396.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.00834, allocations: 8.031 kB / 396.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.008387, allocations: 54.73 kB / 396.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.008436, allocations: 24.8 kB / 396.2 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.008649, allocations: 199.1 kB / 396.4 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.008661, allocations: 12.7 kB / 396.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.008686, allocations: 24.38 kB / 396.5 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.009033, allocations: 423.2 kB / 396.9 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.009041, allocations: 192 / 396.9 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.009061, allocations: 12.38 kB / 396.9 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.009081, allocations: 12.11 kB / 396.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.009338, allocations: 264 kB / 397.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.01022, allocations: 0.7218 MB / 397.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.0106, allocations: 282.5 kB / 398.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.01074, allocations: 136.8 kB / 398.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.01078, allocations: 11.98 kB / 398.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.0108, allocations: 34.56 kB / 398.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.042e-06/0.0108, allocations: 0 / 398.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001667/0.01247, allocations: 0.8775 MB / 399.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.01251, allocations: 85.05 kB / 399.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.01265, allocations: 210.8 kB / 399.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.01268, allocations: 33.7 kB / 399.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.01274, allocations: 128.9 kB / 399.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.01279, allocations: 95.22 kB / 399.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.01286, allocations: 69.64 kB / 399.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.01295, allocations: 334.8 kB / 400.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.01311, allocations: 160 kB / 400.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.01331, allocations: 228.5 kB / 400.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.01368, allocations: 369 kB / 400.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01368, allocations: 4 kB / 400.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001007/0.01469, allocations: 0.6773 MB / 401.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01471, allocations: 8 kB / 401.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01471, allocations: 0 / 401.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009002/0.01561, allocations: 376.4 kB / 401.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01573, allocations: 47.97 kB / 402 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.01837, allocations: 2.606 MB / 404.6 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.01849, allocations: 31.84 kB / 404.6 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.01851, allocations: 12 kB / 404.6 MB, free: 7.98 MB / 330.7 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 9.866e-05/0.01861, allocations: 137.8 kB / 404.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.01864, allocations: 23.86 kB / 404.8 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.01963, allocations: 0.6521 MB / 405.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01963, allocations: 4 kB / 405.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.01963, allocations: 0 / 405.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.01964, allocations: 7.875 kB / 405.5 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.01987, allocations: 300.5 kB / 405.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01987, allocations: 0 / 405.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.01995, allocations: 31.98 kB / 405.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/0.02079, allocations: 368.5 kB / 406.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.02081, allocations: 8 kB / 406.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.02319, allocations: 2.573 MB / 408.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.02319, allocations: 0 / 408.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/0.02412, allocations: 0.691 MB / 409.4 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.02414, allocations: 23.8 kB / 409.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.02416, allocations: 8.062 kB / 409.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.02428, allocations: 19.98 kB / 409.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.02433, allocations: 27.95 kB / 409.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.02434, allocations: 8 kB / 409.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.02444, allocations: 155.3 kB / 409.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02444, allocations: 0 / 409.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.02472, allocations: 99.95 kB / 409.7 MB, free: 2.664 MB / 330.7 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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.02601, allocations: 1.244 MB / 411 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.02691, allocations: 0.623 MB / 411.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02691, allocations: 0 / 411.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000572/0.02748, allocations: 438.3 kB / 412 MB, free: 320 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.02771, allocations: 34.36 kB / 412.1 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1268/0.1545, allocations: 3.34 MB / 415.4 MB, free: 32.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.1546, allocations: 140.7 kB / 415.5 MB, free: 32.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1547, allocations: 31.72 kB / 415.6 MB, free: 32.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.994e-05/0.1548, allocations: 71.7 kB / 415.6 MB, free: 32.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1548, allocations: 3.938 kB / 415.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.179, allocations: 9.669 MB / 425.3 MB, free: 29.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.094, allocations: 5.672 kB / 425.3 MB, free: 29.38 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.774759888648987] Failed to read output from testmodel.py, exit status != 0: 8.184942660853267 8.198234329 8.189444495 Calling exit ...