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.001344/0.001344, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001441/0.001441, allocations: 220.2 kB / 23.82 MB, free: 4.512 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.469/1.469, allocations: 230.6 MB / 257.6 MB, free: 7.812 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.04188/0.04188, allocations: 6.141 MB / 320.1 MB, free: 12.86 MB / 254.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.001477/0.001477, allocations: 51.92 kB / 445.2 MB, free: 5.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 55.03 MB / 0.4885 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002576/0.1086, allocations: 1.043 MB / 0.4895 GB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1108, allocations: 1.431 MB / 0.4909 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1109, allocations: 0 / 0.4909 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.1113, allocations: 115.5 kB / 0.491 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1116, allocations: 67.55 kB / 0.4911 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1129, allocations: 0.5563 MB / 0.4916 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.1132, allocations: 131.3 kB / 0.4918 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1133, allocations: 33.52 kB / 0.4918 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.1134, allocations: 55.78 kB / 0.4918 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1135, allocations: 71.69 kB / 0.4919 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.1136, allocations: 16 kB / 0.4919 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.1139, allocations: 167.8 kB / 0.4921 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.1139, allocations: 27.91 kB / 0.4921 GB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.114, allocations: 51.73 kB / 0.4922 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1145, allocations: 271.1 kB / 0.4924 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1145, allocations: 0 / 0.4924 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1145, allocations: 0 / 0.4924 GB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1145, allocations: 3.938 kB / 0.4924 GB, free: 10.02 MB / 366.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.001725/0.1162, allocations: 0.521 MB / 0.4929 GB, free: 9.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/0.1163, allocations: 12.03 kB / 0.4929 GB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.989e-05/0.1163, allocations: 432 / 0.493 GB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.1163, allocations: 46.73 kB / 0.493 GB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.1164, allocations: 16.84 kB / 0.493 GB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1167, allocations: 164.8 kB / 0.4932 GB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1167, allocations: 12.61 kB / 0.4932 GB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.1167, allocations: 16.31 kB / 0.4932 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.1171, allocations: 205.2 kB / 0.4934 GB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1171, allocations: 0 / 0.4934 GB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1172, allocations: 4 kB / 0.4934 GB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1172, allocations: 4 kB / 0.4934 GB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.1174, allocations: 154.5 kB / 0.4935 GB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1185, allocations: 0.4956 MB / 0.494 GB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1187, allocations: 146.5 kB / 0.4942 GB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.1189, allocations: 68.84 kB / 0.4942 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.119, allocations: 4 kB / 0.4942 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.119, allocations: 34.5 kB / 0.4943 GB, free: 7.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.119, allocations: 0 / 0.4943 GB, free: 7.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001113/0.1201, allocations: 312.9 kB / 0.4946 GB, free: 7.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1202, allocations: 55.41 kB / 0.4946 GB, free: 7.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1203, allocations: 169.7 kB / 0.4948 GB, free: 7.438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1204, allocations: 25.7 kB / 0.4948 GB, free: 7.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1205, allocations: 124.2 kB / 0.4949 GB, free: 7.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1205, allocations: 43.64 kB / 0.495 GB, free: 7.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.1206, allocations: 49.62 kB / 0.495 GB, free: 7.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1208, allocations: 322.8 kB / 0.4953 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1209, allocations: 87.97 kB / 0.4954 GB, free: 6.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1211, allocations: 95.97 kB / 0.4955 GB, free: 6.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1214, allocations: 200.3 kB / 0.4957 GB, free: 6.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1214, allocations: 3.938 kB / 0.4957 GB, free: 6.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005906/0.1219, allocations: 306.2 kB / 0.496 GB, free: 6.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.122, allocations: 4 kB / 0.496 GB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.122, allocations: 4 kB / 0.496 GB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/0.1223, allocations: 56.81 kB / 0.496 GB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.1225, allocations: 31.98 kB / 0.4961 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.1242, allocations: 1.439 MB / 0.4975 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1243, allocations: 11.92 kB / 0.4975 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1244, allocations: 8.156 kB / 0.4975 GB, free: 4.5 MB / 366.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.0001365/0.1245, allocations: 129.8 kB / 0.4976 GB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.1245, allocations: 27.77 kB / 0.4977 GB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.1251, allocations: 227.2 kB / 0.4979 GB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1251, allocations: 4 kB / 0.4979 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1251, allocations: 0 / 0.4979 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1251, allocations: 3.938 kB / 0.4979 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.1254, allocations: 212.5 kB / 0.4981 GB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1254, allocations: 4 kB / 0.4981 GB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.8e-05/0.1255, allocations: 19.98 kB / 0.4981 GB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.1257, allocations: 52.81 kB / 0.4982 GB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1257, allocations: 8 kB / 0.4982 GB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.1272, allocations: 1.412 MB / 0.4995 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1272, allocations: 7.922 kB / 0.4995 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.1277, allocations: 304.2 kB / 0.4998 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.1278, allocations: 27.81 kB / 0.4999 GB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1278, allocations: 7.938 kB / 0.4999 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1279, allocations: 0 / 0.4999 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.128, allocations: 11.98 kB / 0.4999 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.128, allocations: 4.094 kB / 0.4999 GB, free: 1.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1281, allocations: 130.1 kB / 0.5 GB, free: 1.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1281, allocations: 0 / 0.5 GB, free: 1.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1284, allocations: 52 kB / 0.5001 GB, free: 1.68 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.0009067/0.1294, allocations: 0.8559 MB / 0.5009 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007271/0.1301, allocations: 302.6 kB / 0.5012 GB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1301, allocations: 0 / 0.5012 GB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.1305, allocations: 194.7 kB / 0.5014 GB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1308, allocations: 12 kB / 0.5014 GB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.1338, allocations: 2.095 MB / 0.5034 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.1339, allocations: 93.62 kB / 0.5035 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.134, allocations: 16.62 kB / 0.5035 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.1341, allocations: 43.42 kB / 0.5036 GB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1341, allocations: 3.938 kB / 0.5036 GB, free: 13.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.1609, allocations: 4.16 MB / 0.5076 GB, free: 9.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.06, allocations: 11.98 kB / 0.5077 GB, free: 9.891 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.05752803105861] Failed to read output from testmodel.py, exit status != 0: 12.249831684981473 12.468126281 12.348770434 Calling exit ...