Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.0008333/0.0008333, allocations: 72.45 kB / 19.96 MB, free: 4.59 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.000962/0.000962, allocations: 169.9 kB / 23.25 MB, free: 1.301 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.8871/0.8871, allocations: 177.1 MB / 203.5 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.02196/0.02196, allocations: 4.467 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.291e-05, allocations: 9.172 kB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002038/0.002051, allocations: 1.995 MB / 391.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.003574, allocations: 1.664 MB / 393.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.003677, allocations: 8 kB / 393.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.003979, allocations: 158.9 kB / 393.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.004305, allocations: 210.5 kB / 393.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.005608, allocations: 1.112 MB / 394.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.005965, allocations: 421.8 kB / 395.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.006107, allocations: 75.62 kB / 395.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.006268, allocations: 239.5 kB / 395.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.00643, allocations: 155.5 kB / 395.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.006465, allocations: 35.94 kB / 395.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.006795, allocations: 259.6 kB / 395.9 MB, free: 1.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.006842, allocations: 79.67 kB / 396 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.006927, allocations: 131.6 kB / 396.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.007405, allocations: 0.6037 MB / 396.7 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.007406, allocations: 4 kB / 396.7 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.007409, allocations: 7.984 kB / 396.7 MB, free: 252 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.007413, allocations: 0 / 396.7 MB, free: 252 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00256/0.009974, allocations: 1.304 MB / 398 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.01001, allocations: 8.031 kB / 398 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.01006, allocations: 62.73 kB / 398.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.01013, allocations: 48.66 kB / 398.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.0104, allocations: 260.7 kB / 398.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.01041, allocations: 29.03 kB / 398.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.01045, allocations: 32.31 kB / 398.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.01098, allocations: 0.6719 MB / 399.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.01099, allocations: 192 / 399.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.01101, allocations: 12.38 kB / 399.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.01102, allocations: 15.88 kB / 399.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.01143, allocations: 434.5 kB / 399.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.0128, allocations: 1.123 MB / 400.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.0136, allocations: 498.1 kB / 401.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.01384, allocations: 248.8 kB / 401.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.01389, allocations: 8 kB / 401.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.01391, allocations: 42.56 kB / 401.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.01391, allocations: 0 / 401.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.003517/0.01743, allocations: 1.829 MB / 403.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.01747, allocations: 110.8 kB / 403.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.01766, allocations: 269.8 kB / 403.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.0177, allocations: 37.7 kB / 403.7 MB, free: 9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.01778, allocations: 165.1 kB / 403.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.01785, allocations: 158.6 kB / 404 MB, free: 8.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.01797, allocations: 98.33 kB / 404.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.01805, allocations: 346.8 kB / 404.5 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.01835, allocations: 297.2 kB / 404.8 MB, free: 7.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.01868, allocations: 405.1 kB / 405.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.01932, allocations: 0.6586 MB / 405.8 MB, free: 6.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01932, allocations: 4 kB / 405.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001816/0.02114, allocations: 1.251 MB / 407.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.02115, allocations: 4 kB / 407.1 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.02116, allocations: 4 kB / 407.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.02293, allocations: 0.7718 MB / 407.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.02312, allocations: 87.89 kB / 407.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004897/0.02802, allocations: 3.979 MB / 411.9 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.02822, allocations: 59.55 kB / 412 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.02825, allocations: 19.98 kB / 412 MB, free: 0.5625 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 (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.0001356/0.02838, allocations: 165.7 kB / 412.2 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.02844, allocations: 31.81 kB / 412.2 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1376/0.166, allocations: 1.192 MB / 413.4 MB, free: 33.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.166, allocations: 5.281 kB / 413.4 MB, free: 33.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.166, allocations: 0 / 413.4 MB, free: 33.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.166, allocations: 4.125 kB / 413.4 MB, free: 33.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.1667, allocations: 437.6 kB / 413.8 MB, free: 33.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1667, allocations: 1.438 kB / 413.8 MB, free: 33.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1668, allocations: 60.77 kB / 413.9 MB, free: 33.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/0.1689, allocations: 0.7444 MB / 414.6 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.1689, allocations: 12.5 kB / 414.6 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004531/0.1735, allocations: 3.923 MB / 418.6 MB, free: 30.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1735, allocations: 0 / 418.6 MB, free: 30.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.1754, allocations: 1.221 MB / 419.8 MB, free: 30.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1755, allocations: 41.16 kB / 419.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.1755, allocations: 9.531 kB / 419.8 MB, free: 30.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1757, allocations: 30.89 kB / 419.9 MB, free: 30.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.1758, allocations: 38.25 kB / 419.9 MB, free: 30.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.1758, allocations: 15.61 kB / 419.9 MB, free: 30.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.176, allocations: 191.2 kB / 420.1 MB, free: 30.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.176, allocations: 0.9844 kB / 420.1 MB, free: 30.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.1765, allocations: 174.6 kB / 420.3 MB, free: 30.27 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 (36): * Single equations (assignments): 35 * 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.002036/0.1785, allocations: 1.778 MB / 422.1 MB, free: 29.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.18, allocations: 0.9855 MB / 423 MB, free: 28.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.18, allocations: 3.625 kB / 423 MB, free: 28.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009536/0.181, allocations: 0.6425 MB / 423.7 MB, free: 28.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1813, allocations: 39.02 kB / 423.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/0.1877, allocations: 5.196 MB / 428.9 MB, free: 25.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1879, allocations: 198.2 kB / 429.1 MB, free: 25.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.188, allocations: 51.95 kB / 429.2 MB, free: 25.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1881, allocations: 121.8 kB / 429.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1881, allocations: 0 / 429.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.2152, allocations: 15.73 MB / 445 MB, free: 13.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.119, allocations: 7.438 kB / 445 MB, free: 13.84 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.77942016068846] Failed to read output from testmodel.py, exit status != 0: 8.213896743021905 8.221401793 8.211768373 Calling exit ...