Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.0007857/0.0007857, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.000854/0.000854, 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.9076/0.9076, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.02649/0.02649, allocations: 4.473 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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.111e-05, allocations: 2.281 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001765/0.001786, allocations: 1.399 MB / 391 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.003427, allocations: 1.532 MB / 392.5 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.003488, allocations: 0 / 392.5 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.003763, allocations: 119.3 kB / 392.6 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.003974, allocations: 119.1 kB / 392.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/0.004844, allocations: 0.8436 MB / 393.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.005089, allocations: 246.6 kB / 393.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.00522, allocations: 52.42 kB / 393.9 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.00532, allocations: 135.7 kB / 394 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.005445, allocations: 95.69 kB / 394.1 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.005469, allocations: 20 kB / 394.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.005723, allocations: 203.6 kB / 394.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.005754, allocations: 47.78 kB / 394.4 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.005812, allocations: 79.77 kB / 394.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.006164, allocations: 414.8 kB / 394.9 MB, free: 2.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.006167, allocations: 0 / 394.9 MB, free: 2.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006168, allocations: 4 kB / 394.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.006173, allocations: 0 / 394.9 MB, free: 2.113 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.001365/0.007539, allocations: 0.7429 MB / 395.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.00758, allocations: 12.03 kB / 395.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.007628, allocations: 46.73 kB / 395.7 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.007676, allocations: 28.8 kB / 395.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.007894, allocations: 193.4 kB / 395.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.007908, allocations: 12.7 kB / 395.9 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.007932, allocations: 20.38 kB / 395.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.008254, allocations: 367.5 kB / 396.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.008262, allocations: 192 / 396.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.00828, allocations: 4.375 kB / 396.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.008286, allocations: 8.125 kB / 396.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.008543, allocations: 268.4 kB / 396.6 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008855/0.009429, allocations: 0.7023 MB / 397.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.009849, allocations: 285.3 kB / 397.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.009988, allocations: 136.8 kB / 397.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.01003, allocations: 12 kB / 397.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01005, allocations: 38.55 kB / 397.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.01005, allocations: 0 / 397.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001693/0.01174, allocations: 0.8858 MB / 398.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.01177, allocations: 55.41 kB / 398.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.01192, allocations: 207.8 kB / 398.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01194, allocations: 33.7 kB / 398.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.012, allocations: 132.5 kB / 399 MB, free: 13.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.01205, allocations: 83.27 kB / 399.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.01212, allocations: 65.64 kB / 399.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003375/0.01246, allocations: 326.8 kB / 399.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.01263, allocations: 159.9 kB / 399.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.01278, allocations: 156.5 kB / 399.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.01312, allocations: 359.1 kB / 400.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01312, allocations: 0 / 400.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008752/0.014, allocations: 0.6306 MB / 400.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.01401, allocations: 11.94 kB / 400.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.01402, allocations: 3.938 kB / 400.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000762/0.01478, allocations: 316.5 kB / 401.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.01489, allocations: 47.97 kB / 401.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.01744, allocations: 2.603 MB / 403.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01756, allocations: 31.83 kB / 403.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.01758, allocations: 15.98 kB / 403.8 MB, free: 8.836 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 (27): * Single equations (assignments): 26 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.01769, allocations: 137.7 kB / 403.9 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.01772, allocations: 19.86 kB / 404 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008759/0.01859, allocations: 0.6053 MB / 404.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.0186, allocations: 4.125 kB / 404.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.0186, allocations: 4 kB / 404.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0186, allocations: 0 / 404.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.01884, allocations: 308.3 kB / 404.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01884, allocations: 0 / 404.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.0189, allocations: 32.17 kB / 404.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006744/0.01958, allocations: 312.5 kB / 405.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.01959, allocations: 7.984 kB / 405.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.02212, allocations: 2.583 MB / 407.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02212, allocations: 0 / 407.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.02296, allocations: 0.6598 MB / 408.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.02299, allocations: 27.77 kB / 408.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.02301, allocations: 8 kB / 408.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.02312, allocations: 8 kB / 408.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.02316, allocations: 23.95 kB / 408.5 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.02318, allocations: 8 kB / 408.5 MB, free: 3.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.258e-05/0.02327, allocations: 143.7 kB / 408.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02327, allocations: 4 kB / 408.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.02359, allocations: 107.9 kB / 408.8 MB, free: 3.656 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 (20): * Single equations (assignments): 19 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.02473, allocations: 1.22 MB / 410 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009367/0.02567, allocations: 0.5997 MB / 410.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02567, allocations: 0 / 410.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.02618, allocations: 430.4 kB / 411 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.02644, allocations: 20 kB / 411 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1219/0.1483, allocations: 3.221 MB / 414.3 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.1484, allocations: 130.8 kB / 414.4 MB, free: 32.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.7e-05/0.1485, allocations: 28.67 kB / 414.4 MB, free: 32.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.1486, allocations: 70.78 kB / 414.5 MB, free: 32.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.532e-06/0.1486, allocations: 0 / 414.5 MB, free: 32.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.1735, allocations: 9.03 MB / 423.5 MB, free: 30.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.124, allocations: 11.92 kB / 423.5 MB, free: 30.2 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.814705577678978] Failed to read output from testmodel.py, exit status != 0: 8.215307919308543 8.223279093 8.215063958 Calling exit ...