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.001459/0.001459, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.001851/0.001851, allocations: 217.8 kB / 23.05 MB, free: 4.941 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.0421/0.0421, allocations: 6.127 MB / 319.4 MB, free: 12.96 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 43.94 kB / 444.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 55.02 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002483/0.1123, allocations: 1.139 MB / 0.4889 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1142, allocations: 1.505 MB / 0.4904 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.1143, allocations: 7.938 kB / 0.4904 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1146, allocations: 107.5 kB / 0.4905 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1148, allocations: 71.55 kB / 0.4906 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.116, allocations: 0.5991 MB / 0.4912 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1163, allocations: 135.3 kB / 0.4913 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1164, allocations: 37.52 kB / 0.4913 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.1165, allocations: 63.77 kB / 0.4914 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1166, allocations: 71.64 kB / 0.4914 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1166, allocations: 12 kB / 0.4915 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.117, allocations: 167.8 kB / 0.4916 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.117, allocations: 27.91 kB / 0.4916 GB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.1171, allocations: 71.55 kB / 0.4917 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1175, allocations: 267.1 kB / 0.492 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1175, allocations: 0 / 0.492 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1175, allocations: 0 / 0.492 GB, free: 10.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1175, allocations: 0 / 0.492 GB, free: 10.01 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.001585/0.1191, allocations: 0.521 MB / 0.4925 GB, free: 9.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1191, allocations: 12.03 kB / 0.4925 GB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.1192, allocations: 46.73 kB / 0.4925 GB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.1192, allocations: 20.84 kB / 0.4926 GB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1195, allocations: 158.3 kB / 0.4927 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1195, allocations: 8.609 kB / 0.4927 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1195, allocations: 12.38 kB / 0.4927 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.1198, allocations: 180 kB / 0.4929 GB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1198, allocations: 3.938 kB / 0.4929 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1198, allocations: 0 / 0.4929 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1199, allocations: 7.984 kB / 0.4929 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.1201, allocations: 163.9 kB / 0.4931 GB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1211, allocations: 0.5384 MB / 0.4936 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.1214, allocations: 142.5 kB / 0.4937 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1215, allocations: 68.84 kB / 0.4938 GB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.1216, allocations: 7.984 kB / 0.4938 GB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1216, allocations: 38.56 kB / 0.4938 GB, free: 7.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.1216, allocations: 0 / 0.4938 GB, free: 7.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001105/0.1227, allocations: 309.8 kB / 0.4941 GB, free: 7.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1227, allocations: 55.66 kB / 0.4942 GB, free: 7.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1229, allocations: 172.3 kB / 0.4944 GB, free: 7.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1229, allocations: 29.7 kB / 0.4944 GB, free: 7.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.123, allocations: 128.2 kB / 0.4945 GB, free: 7.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1231, allocations: 39.64 kB / 0.4945 GB, free: 7.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.1232, allocations: 45.7 kB / 0.4946 GB, free: 7.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1233, allocations: 322.8 kB / 0.4949 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1235, allocations: 91.97 kB / 0.495 GB, free: 6.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1237, allocations: 95.62 kB / 0.4951 GB, free: 6.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.124, allocations: 196.7 kB / 0.4953 GB, free: 6.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.124, allocations: 3.938 kB / 0.4953 GB, free: 6.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005869/0.1246, allocations: 306.2 kB / 0.4956 GB, free: 6.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1246, allocations: 4 kB / 0.4956 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1246, allocations: 0 / 0.4956 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.1249, allocations: 52.81 kB / 0.4956 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1251, allocations: 39.92 kB / 0.4956 GB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.1267, allocations: 1.443 MB / 0.4971 GB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1268, allocations: 15.83 kB / 0.4971 GB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1268, allocations: 11.98 kB / 0.4971 GB, free: 4.461 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.0001366/0.127, allocations: 125.9 kB / 0.4972 GB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.127, allocations: 15.91 kB / 0.4972 GB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.1276, allocations: 243.1 kB / 0.4974 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.1276, allocations: 4 kB / 0.4975 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1276, allocations: 0 / 0.4975 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1276, allocations: 0 / 0.4975 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1279, allocations: 232.5 kB / 0.4977 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1279, allocations: 11.94 kB / 0.4977 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.128, allocations: 16 kB / 0.4977 GB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.1282, allocations: 56.69 kB / 0.4978 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1282, allocations: 8 kB / 0.4978 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.1297, allocations: 1.416 MB / 0.4991 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1297, allocations: 4.156 kB / 0.4991 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.1302, allocations: 312.2 kB / 0.4994 GB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1302, allocations: 15.84 kB / 0.4995 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1302, allocations: 0 / 0.4995 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1304, allocations: 15.92 kB / 0.4995 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1304, allocations: 7.984 kB / 0.4995 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1304, allocations: 12 kB / 0.4995 GB, free: 1.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1306, allocations: 130.1 kB / 0.4996 GB, free: 1.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1306, allocations: 0 / 0.4996 GB, free: 1.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.1309, allocations: 48 kB / 0.4997 GB, free: 1.613 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.000907/0.1318, allocations: 0.8459 MB / 0.5005 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.1325, allocations: 316.4 kB / 0.5008 GB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1325, allocations: 0 / 0.5008 GB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.1329, allocations: 194.6 kB / 0.501 GB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1332, allocations: 8 kB / 0.501 GB, free: 212 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.1361, allocations: 2.096 MB / 0.503 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1365, allocations: 0.7123 MB / 0.5037 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.618e-05/0.1365, allocations: 16.62 kB / 0.5037 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.1366, allocations: 43.42 kB / 0.5038 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1366, allocations: 0 / 0.5038 GB, free: 13.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.172, allocations: 4.079 MB / 0.5078 GB, free: 9.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.6, allocations: 9.484 kB / 0.5078 GB, free: 9.273 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: 14.501656020060182] Failed to read output from testmodel.py, exit status != 0: 11.70797669608146 11.917312763 11.79686203 Calling exit ...