Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.0007871/0.0007871, allocations: 80.53 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.0008745/0.0008745, allocations: 173.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.9184/0.9184, allocations: 177.1 MB / 203.6 MB, free: 5.75 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.02513/0.02513, allocations: 4.474 MB / 264.5 MB, free: 8.773 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.37e-05, allocations: 2.984 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001339/0.001352, allocations: 1.13 MB / 390.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.002575, allocations: 1.477 MB / 392.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.002612, allocations: 7.938 kB / 392.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.002782, allocations: 103.4 kB / 392.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.002895, allocations: 71.47 kB / 392.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.003642, allocations: 0.8283 MB / 393.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.003798, allocations: 155.2 kB / 393.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.003871, allocations: 33.72 kB / 393.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.003937, allocations: 87.8 kB / 393.5 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.004018, allocations: 71.78 kB / 393.6 MB, free: 3.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.004032, allocations: 12 kB / 393.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.004578, allocations: 195.6 kB / 393.8 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.004601, allocations: 27.86 kB / 393.8 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.00464, allocations: 59.83 kB / 393.8 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.004925, allocations: 339 kB / 394.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-06/0.004926, allocations: 0 / 394.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.004927, allocations: 0 / 394.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.004931, allocations: 0 / 394.2 MB, free: 2.809 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.000869/0.0058, allocations: 0.5637 MB / 394.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.005829, allocations: 8.031 kB / 394.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.005861, allocations: 42.73 kB / 394.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.00589, allocations: 16.84 kB / 394.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.006046, allocations: 173.5 kB / 395 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.006057, allocations: 8.609 kB / 395 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.006073, allocations: 12.38 kB / 395 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.006299, allocations: 268.4 kB / 395.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.006306, allocations: 192 / 395.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.006318, allocations: 4.375 kB / 395.3 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006323, allocations: 8.125 kB / 395.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.006499, allocations: 159.9 kB / 395.4 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.00718, allocations: 0.5112 MB / 395.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.007524, allocations: 206.4 kB / 396.1 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.00762, allocations: 80.84 kB / 396.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.007664, allocations: 0 / 396.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.00769, allocations: 38.55 kB / 396.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.007691, allocations: 0 / 396.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009477/0.008639, allocations: 0.4905 MB / 396.7 MB, free: 76 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.008668, allocations: 55.41 kB / 396.8 MB, free: 8 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.008808, allocations: 167.2 kB / 397 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.008826, allocations: 29.7 kB / 397 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.008889, allocations: 116.4 kB / 397.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.008921, allocations: 59.47 kB / 397.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.008975, allocations: 45.56 kB / 397.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.00906, allocations: 330.8 kB / 397.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.009165, allocations: 95.97 kB / 397.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.009266, allocations: 103 kB / 397.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.009476, allocations: 208.8 kB / 397.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009478, allocations: 0 / 397.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000479/0.009957, allocations: 376.3 kB / 398.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.009968, allocations: 7.938 kB / 398.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.009973, allocations: 7.922 kB / 398.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.01033, allocations: 136.7 kB / 398.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.0104, allocations: 27.97 kB / 398.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.01213, allocations: 1.908 MB / 400.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.0122, allocations: 15.89 kB / 400.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01221, allocations: 4 kB / 400.4 MB, free: 12.25 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.01229, allocations: 133 kB / 400.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.01232, allocations: 15.84 kB / 400.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.01311, allocations: 357.9 kB / 400.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01311, allocations: 4 kB / 400.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01311, allocations: 0 / 400.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01312, allocations: 3.984 kB / 400.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.0133, allocations: 240.6 kB / 401.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.0133, allocations: 7.938 kB / 401.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.01334, allocations: 15.94 kB / 401.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.01364, allocations: 140.7 kB / 401.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01365, allocations: 4 kB / 401.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.01498, allocations: 1.882 MB / 403.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01498, allocations: 3.938 kB / 403.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.01545, allocations: 424 kB / 403.6 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.01547, allocations: 15.95 kB / 403.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.01548, allocations: 8.188 kB / 403.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.01556, allocations: 15.88 kB / 403.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.0156, allocations: 19.91 kB / 403.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01561, allocations: 4 kB / 403.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.836e-05/0.01569, allocations: 126.3 kB / 403.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01569, allocations: 0 / 403.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.01593, allocations: 67.92 kB / 403.9 MB, free: 8.609 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007461/0.01668, allocations: 0.9654 MB / 404.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.01721, allocations: 374.3 kB / 405.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01722, allocations: 0 / 405.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.01745, allocations: 250.5 kB / 405.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01767, allocations: 27.92 kB / 405.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.01989, allocations: 2.364 MB / 407.8 MB, free: 4.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.02032, allocations: 113.9 kB / 407.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.02037, allocations: 17.48 kB / 407.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.02044, allocations: 48.47 kB / 408 MB, free: 4.301 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02044, allocations: 0 / 408 MB, free: 4.301 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/0.1926, allocations: 6.31 MB / 414.3 MB, free: 33.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.91, allocations: 1.531 kB / 414.3 MB, free: 33.31 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.6681923661381] Failed to read output from testmodel.py, exit status != 0: 7.998819534666836 8.009618247 8.002875701 Calling exit ...