Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001767/0.001767, allocations: 120.9 kB / 17.88 MB, free: 5.027 MB / 14.72 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.001589/0.001589, allocations: 209.6 kB / 20.84 MB, free: 2.082 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.04513/0.04513, allocations: 6.137 MB / 316.4 MB, free: 1.137 MB / 238.1 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 48.31 kB / 439.9 MB, free: 40.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09311, allocations: 54.97 MB / 494.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002082/0.09519, allocations: 1.131 MB / 496 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.09661, allocations: 1.505 MB / 497.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.09668, allocations: 0 / 497.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.09699, allocations: 107.5 kB / 497.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.0972, allocations: 71.55 kB / 497.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.09809, allocations: 0.6143 MB / 498.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.09826, allocations: 135.3 kB / 498.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.09837, allocations: 29.39 kB / 498.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.09843, allocations: 63.72 kB / 498.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.0985, allocations: 67.75 kB / 498.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.09852, allocations: 12 kB / 498.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.09875, allocations: 167.8 kB / 498.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.09878, allocations: 31.84 kB / 498.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.09882, allocations: 55.73 kB / 498.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.0991, allocations: 275 kB / 499.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.09911, allocations: 0 / 499.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.09911, allocations: 0 / 499.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.09911, allocations: 0 / 499.2 MB, free: 6.348 MB / 350.1 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.001472/0.1006, allocations: 0.5962 MB / 499.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1006, allocations: 20.02 kB / 499.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.942e-05/0.1006, allocations: 4.422 kB / 499.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1007, allocations: 38.75 kB / 499.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1007, allocations: 16.84 kB / 499.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1009, allocations: 216.1 kB / 0.4883 GB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1009, allocations: 12.61 kB / 0.4883 GB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.101, allocations: 12.38 kB / 0.4884 GB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1013, allocations: 175.5 kB / 0.4885 GB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1013, allocations: 0 / 0.4885 GB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1013, allocations: 7.984 kB / 0.4885 GB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1013, allocations: 8 kB / 0.4885 GB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.1015, allocations: 150.5 kB / 0.4887 GB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.1023, allocations: 0.5667 MB / 0.4892 GB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1025, allocations: 146.5 kB / 0.4894 GB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.1026, allocations: 68.84 kB / 0.4894 GB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.1027, allocations: 3.938 kB / 0.4894 GB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1027, allocations: 34.56 kB / 0.4895 GB, free: 4.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1027, allocations: 0 / 0.4895 GB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001051/0.1037, allocations: 383.4 kB / 0.4898 GB, free: 3.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1038, allocations: 51.41 kB / 0.4899 GB, free: 3.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1039, allocations: 164.8 kB / 0.49 GB, free: 3.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1039, allocations: 37.58 kB / 0.4901 GB, free: 3.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.104, allocations: 124.2 kB / 0.4902 GB, free: 3.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.104, allocations: 43.64 kB / 0.4902 GB, free: 3.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.1041, allocations: 45.69 kB / 0.4903 GB, free: 3.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.1041, allocations: 326.8 kB / 0.4906 GB, free: 2.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1043, allocations: 87.97 kB / 0.4907 GB, free: 2.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1044, allocations: 91.97 kB / 0.4908 GB, free: 2.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.1046, allocations: 195.7 kB / 0.491 GB, free: 2.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1046, allocations: 7.938 kB / 0.491 GB, free: 2.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005138/0.1052, allocations: 306.2 kB / 0.4913 GB, free: 2.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1052, allocations: 4 kB / 0.4913 GB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1052, allocations: 4 kB / 0.4913 GB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.1055, allocations: 56.81 kB / 0.4913 GB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1057, allocations: 27.98 kB / 0.4913 GB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.1069, allocations: 1.543 MB / 0.4928 GB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.107, allocations: 15.92 kB / 0.4929 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.107, allocations: 8.156 kB / 0.4929 GB, free: 416 kB / 350.1 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1071, allocations: 126.3 kB / 0.493 GB, free: 280 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1072, allocations: 23.83 kB / 0.493 GB, free: 256 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.1076, allocations: 231.5 kB / 0.4932 GB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1076, allocations: 3.984 kB / 0.4932 GB, free: 16 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1076, allocations: 4 kB / 0.4932 GB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1076, allocations: 4 kB / 0.4932 GB, free: 8 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.108, allocations: 269.4 kB / 0.4935 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.108, allocations: 0 / 0.4935 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/0.108, allocations: 23.98 kB / 0.4935 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.1083, allocations: 48.81 kB / 0.4936 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1083, allocations: 4 kB / 0.4936 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.1102, allocations: 1.531 MB / 0.4951 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1102, allocations: 3.938 kB / 0.4951 GB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.1109, allocations: 304.3 kB / 0.4954 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.111, allocations: 89.02 kB / 0.4955 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.111, allocations: 11.88 kB / 0.4955 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1111, allocations: 4.062 kB / 0.4955 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.1112, allocations: 11.98 kB / 0.4955 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1112, allocations: 7.938 kB / 0.4955 GB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1113, allocations: 130.5 kB / 0.4956 GB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1113, allocations: 0 / 0.4956 GB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1117, allocations: 52 kB / 0.4957 GB, free: 13.31 MB / 366.1 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000899/0.1126, allocations: 0.8533 MB / 0.4965 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.1133, allocations: 306.6 kB / 0.4968 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1133, allocations: 0 / 0.4968 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.1137, allocations: 190.7 kB / 0.497 GB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.114, allocations: 8 kB / 0.497 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.1169, allocations: 2.099 MB / 0.499 GB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1173, allocations: 0.7045 MB / 0.4997 GB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.85e-05/0.1174, allocations: 20.62 kB / 0.4997 GB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.1174, allocations: 43.36 kB / 0.4998 GB, free: 8.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1174, allocations: 0 / 0.4998 GB, free: 8.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1415, allocations: 3.951 MB / 0.5036 GB, free: 5.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.43, allocations: 8.484 kB / 0.5036 GB, free: 5.074 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.259555742959492] Failed to read output from testmodel.py, exit status != 0: 10.584616217995062 10.606828578 10.503693286 Calling exit ...