Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.0009708/0.0009708, allocations: 76.45 kB / 19.97 MB, free: 4.582 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.001523/0.001523, allocations: 173.9 kB / 23.25 MB, free: 1.297 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.9488/0.9488, 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.02457/0.02457, allocations: 4.468 MB / 264.5 MB, free: 8.762 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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.185e-05, allocations: 5.094 kB / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002228/0.00225, allocations: 1.147 MB / 390.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.004202, allocations: 1.501 MB / 392.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.004283, allocations: 0 / 392.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.004649, allocations: 103.4 kB / 392.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.00498, allocations: 107.2 kB / 392.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.006091, allocations: 0.9214 MB / 393.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.006311, allocations: 167.1 kB / 393.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.006422, allocations: 33.78 kB / 393.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.006504, allocations: 95.73 kB / 393.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.00662, allocations: 67.8 kB / 393.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.006641, allocations: 12 kB / 393.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.006938, allocations: 227.6 kB / 394 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.006964, allocations: 31.84 kB / 394 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.007011, allocations: 51.84 kB / 394 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.007355, allocations: 366.9 kB / 394.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.007357, allocations: 0 / 394.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007358, allocations: 0 / 394.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.007362, allocations: 0 / 394.4 MB, free: 2.582 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001288/0.00865, allocations: 0.6573 MB / 395.1 MB, free: 1.891 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.008686, allocations: 12.03 kB / 395.1 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.008727, allocations: 46.73 kB / 395.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.008771, allocations: 20.8 kB / 395.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.008961, allocations: 172.3 kB / 395.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.008972, allocations: 8.609 kB / 395.3 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.008991, allocations: 12.38 kB / 395.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.009259, allocations: 315.8 kB / 395.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.009266, allocations: 192 / 395.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.00928, allocations: 4.375 kB / 395.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.009287, allocations: 8.125 kB / 395.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.009462, allocations: 163.9 kB / 395.8 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.01016, allocations: 0.5384 MB / 396.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.01045, allocations: 186.5 kB / 396.5 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.01055, allocations: 84.78 kB / 396.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.01058, allocations: 11.94 kB / 396.6 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.0106, allocations: 34.55 kB / 396.7 MB, free: 168 kB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.01061, allocations: 0 / 396.7 MB, free: 168 kB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001113/0.01172, allocations: 0.5129 MB / 397.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.01176, allocations: 77.11 kB / 397.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.0119, allocations: 178.9 kB / 397.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.01193, allocations: 29.7 kB / 397.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.01199, allocations: 120.4 kB / 397.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.01202, allocations: 51.52 kB / 397.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.01208, allocations: 53.69 kB / 397.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.01217, allocations: 326.8 kB / 398 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.01228, allocations: 99.97 kB / 398.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01241, allocations: 151.4 kB / 398.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01264, allocations: 240.6 kB / 398.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01264, allocations: 0 / 398.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005948/0.01324, allocations: 427.4 kB / 398.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01325, allocations: 7.984 kB / 398.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.01325, allocations: 0 / 398.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.0138, allocations: 196.6 kB / 399.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.0139, allocations: 43.91 kB / 399.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.01559, allocations: 1.838 MB / 401 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.01569, allocations: 19.84 kB / 401 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01571, allocations: 15.98 kB / 401 MB, free: 11.62 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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/0.01579, allocations: 130 kB / 401.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.01582, allocations: 12.19 kB / 401.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.01641, allocations: 397.8 kB / 401.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01641, allocations: 0 / 401.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01641, allocations: 4 kB / 401.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01642, allocations: 4 kB / 401.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01661, allocations: 236.5 kB / 401.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01661, allocations: 0 / 401.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.01667, allocations: 27.92 kB / 401.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.01714, allocations: 196.6 kB / 402 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01716, allocations: 4 kB / 402 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.01856, allocations: 1.83 MB / 403.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01856, allocations: 3.938 kB / 403.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.01911, allocations: 447.9 kB / 404.3 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.01913, allocations: 15.84 kB / 404.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.01914, allocations: 11.98 kB / 404.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.01924, allocations: 11.94 kB / 404.3 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.01928, allocations: 15.97 kB / 404.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.01929, allocations: 4 kB / 404.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.01937, allocations: 131.2 kB / 404.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01937, allocations: 0 / 404.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01963, allocations: 67.95 kB / 404.5 MB, free: 7.906 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 (15): * Single equations (assignments): 14 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007876/0.02041, allocations: 0.9887 MB / 405.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.02097, allocations: 402.4 kB / 405.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02098, allocations: 0 / 405.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.02129, allocations: 270.5 kB / 406.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.0215, allocations: 19.98 kB / 406.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.02388, allocations: 2.506 MB / 408.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.394e-05/0.02396, allocations: 111.5 kB / 408.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.02402, allocations: 29.55 kB / 408.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.02408, allocations: 44.48 kB / 408.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of SimCode: time 4.8e-07/0.02408, allocations: 0 / 408.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/0.1557, allocations: 6.845 MB / 415.7 MB, free: 33.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.971, allocations: 7.172 kB / 415.7 MB, free: 33.1 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.70872239395976] Failed to read output from testmodel.py, exit status != 0: 8.062775080092251 8.072465317 8.063209687 Calling exit ...