Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.001292/0.001292, allocations: 123.9 kB / 17.89 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.001418/0.001418, allocations: 211.1 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.514/1.514, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.04109/0.04109, allocations: 6.131 MB / 316.4 MB, free: 1.164 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 51.95 kB / 439.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 54.99 MB / 494.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002491/0.1081, allocations: 1.548 MB / 496.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1099, allocations: 1.614 MB / 498.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.11, allocations: 7.938 kB / 498.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.1104, allocations: 127.3 kB / 498.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.1107, allocations: 107.3 kB / 498.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.1123, allocations: 0.9882 MB / 499.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.1126, allocations: 246.8 kB / 499.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1128, allocations: 60.58 kB / 499.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1129, allocations: 99.64 kB / 499.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1131, allocations: 139.4 kB / 499.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.1132, allocations: 16 kB / 499.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1136, allocations: 243.8 kB / 0.4884 GB, free: 5.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.1136, allocations: 51.77 kB / 0.4884 GB, free: 5.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.1137, allocations: 119.4 kB / 0.4885 GB, free: 5.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.1142, allocations: 414.6 kB / 0.4889 GB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1143, allocations: 0 / 0.4889 GB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1143, allocations: 4 kB / 0.4889 GB, free: 4.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1143, allocations: 0 / 0.4889 GB, free: 4.707 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.003173/0.1174, allocations: 0.9115 MB / 0.4898 GB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1175, allocations: 15.97 kB / 0.4898 GB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.729e-05/0.1175, allocations: 7.969 kB / 0.4899 GB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.1176, allocations: 50.73 kB / 0.4899 GB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.1177, allocations: 32.75 kB / 0.4899 GB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1179, allocations: 260.5 kB / 0.4902 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1179, allocations: 16.38 kB / 0.4902 GB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.118, allocations: 20.31 kB / 0.4902 GB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.1184, allocations: 273.9 kB / 0.4905 GB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1184, allocations: 8 kB / 0.4905 GB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1184, allocations: 8 kB / 0.4905 GB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1184, allocations: 4 kB / 0.4905 GB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.1188, allocations: 291.4 kB / 0.4908 GB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1202, allocations: 1.137 MB / 0.4919 GB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.1207, allocations: 318.5 kB / 0.4922 GB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.1209, allocations: 165.3 kB / 0.4923 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.216e-05/0.1209, allocations: 15.92 kB / 0.4924 GB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.121, allocations: 42.56 kB / 0.4924 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.121, allocations: 0 / 0.4924 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.008875/0.1298, allocations: 1.549 MB / 0.4939 GB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.1299, allocations: 59.34 kB / 0.494 GB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.1303, allocations: 177.2 kB / 0.4941 GB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/0.1304, allocations: 33.7 kB / 0.4942 GB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1305, allocations: 117 kB / 0.4943 GB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.1307, allocations: 107 kB / 0.4944 GB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.1309, allocations: 65.69 kB / 0.4944 GB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.1311, allocations: 334.8 kB / 0.4948 GB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.1314, allocations: 164 kB / 0.4949 GB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.1317, allocations: 175.9 kB / 0.4951 GB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.1325, allocations: 397.6 kB / 0.4955 GB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.1325, allocations: 4 kB / 0.4955 GB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005344/0.1378, allocations: 0.9966 MB / 0.4964 GB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.1379, allocations: 8 kB / 0.4965 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1379, allocations: 0 / 0.4965 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005876/0.1438, allocations: 0.7188 MB / 0.4972 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1441, allocations: 51.91 kB / 0.4972 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008887/0.1529, allocations: 3.636 MB / 0.5008 GB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.1533, allocations: 27.78 kB / 0.5008 GB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.1533, allocations: 19.98 kB / 0.5008 GB, free: 8.078 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 (25): * Single equations (assignments): 24 * 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 {(8,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.1536, allocations: 129.8 kB / 0.5009 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.1537, allocations: 27.8 kB / 0.501 GB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/0.1592, allocations: 1.019 MB / 0.502 GB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.1592, allocations: 4 kB / 0.502 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1592, allocations: 0 / 0.502 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.1592, allocations: 3.984 kB / 0.502 GB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.1599, allocations: 429.1 kB / 0.5024 GB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.1599, allocations: 8 kB / 0.5024 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1601, allocations: 39.92 kB / 0.5024 GB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005677/0.1658, allocations: 0.7148 MB / 0.5031 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/0.1658, allocations: 8 kB / 0.5031 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008185/0.174, allocations: 3.582 MB / 0.5066 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.174, allocations: 4 kB / 0.5066 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/0.1795, allocations: 1.065 MB / 0.5077 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1796, allocations: 104.8 kB / 0.5078 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.1797, allocations: 8 kB / 0.5078 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.18, allocations: 23.92 kB / 0.5078 GB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.1802, allocations: 27.95 kB / 0.5078 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.1802, allocations: 16 kB / 0.5078 GB, free: 0.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1804, allocations: 136.3 kB / 0.508 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 3.938 kB / 0.508 GB, free: 500 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006427/0.181, allocations: 116 kB / 0.5081 GB, free: 384 kB / 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 (23): * Single equations (assignments): 22 * 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 {(8,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00587/0.1869, allocations: 1.622 MB / 0.5097 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.189, allocations: 0.7166 MB / 0.5104 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.189, allocations: 4 kB / 0.5104 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.1905, allocations: 0.5021 MB / 0.5109 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.1909, allocations: 25.25 kB / 0.5109 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.2047, allocations: 3.988 MB / 0.5148 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.2053, allocations: 0.7528 MB / 0.5155 GB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.2054, allocations: 29.92 kB / 0.5155 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.2056, allocations: 75.41 kB / 0.5156 GB, free: 8.496 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2056, allocations: 0 / 0.5156 GB, free: 8.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.2455, allocations: 12.02 MB / 0.5273 GB, free: 12.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.56, allocations: 8 kB / 0.5274 GB, free: 12.63 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.39795294799842] Failed to read output from testmodel.py, exit status != 0: 12.721835024014581 12.738422717 12.621279579 Calling exit ...