Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.001533/0.001533, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001945/0.001945, allocations: 213 kB / 23.82 MB, free: 4.48 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.484/1.484, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.03648/0.03648, allocations: 6.138 MB / 320.1 MB, free: 12.76 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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 445.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 55.02 MB / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.00336/0.1079, allocations: 1.592 MB / 0.4901 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1101, allocations: 1.548 MB / 0.4916 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.1104, allocations: 4 kB / 0.4916 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.1108, allocations: 135.3 kB / 0.4917 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.1113, allocations: 139.1 kB / 0.4918 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1127, allocations: 0.603 MB / 0.4924 GB, free: 9.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.1132, allocations: 290.6 kB / 0.4927 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1134, allocations: 81.92 kB / 0.4928 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.1136, allocations: 115.6 kB / 0.4929 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1138, allocations: 159.3 kB / 0.493 GB, free: 9.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.1139, allocations: 24 kB / 0.4931 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.1143, allocations: 183.8 kB / 0.4932 GB, free: 9.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.1144, allocations: 63.81 kB / 0.4933 GB, free: 9.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1145, allocations: 119.4 kB / 0.4934 GB, free: 8.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.1152, allocations: 434.5 kB / 0.4938 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1152, allocations: 0 / 0.4938 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1152, allocations: 0 / 0.4938 GB, free: 8.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1152, allocations: 0 / 0.4938 GB, free: 8.527 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003363/0.1186, allocations: 0.8912 MB / 0.4947 GB, free: 7.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1186, allocations: 12.03 kB / 0.4947 GB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.222e-05/0.1187, allocations: 8.562 kB / 0.4947 GB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.759e-05/0.1187, allocations: 54.73 kB / 0.4948 GB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.1188, allocations: 36.75 kB / 0.4948 GB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.1191, allocations: 226.5 kB / 0.495 GB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.1192, allocations: 20.81 kB / 0.495 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.1192, allocations: 24.38 kB / 0.4951 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.1199, allocations: 428.6 kB / 0.4955 GB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1199, allocations: 0 / 0.4955 GB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.12, allocations: 8 kB / 0.4955 GB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.12, allocations: 4 kB / 0.4955 GB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.1206, allocations: 349.6 kB / 0.4958 GB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1225, allocations: 0.8879 MB / 0.4967 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.1232, allocations: 372.8 kB / 0.497 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.1236, allocations: 212.8 kB / 0.4972 GB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.1236, allocations: 7.938 kB / 0.4972 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.1237, allocations: 39.16 kB / 0.4973 GB, free: 4.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.913e-06/0.1237, allocations: 0 / 0.4973 GB, free: 4.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002593/0.1263, allocations: 0.8371 MB / 0.4981 GB, free: 3.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.1263, allocations: 55.41 kB / 0.4982 GB, free: 3.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1266, allocations: 238.9 kB / 0.4984 GB, free: 3.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.1266, allocations: 29.7 kB / 0.4984 GB, free: 3.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1267, allocations: 144.8 kB / 0.4985 GB, free: 3.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1268, allocations: 122.9 kB / 0.4987 GB, free: 3.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.127, allocations: 86.11 kB / 0.4987 GB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1272, allocations: 342.8 kB / 0.4991 GB, free: 2.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.1276, allocations: 236.8 kB / 0.4993 GB, free: 2.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.128, allocations: 243.9 kB / 0.4995 GB, free: 2.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000823/0.1288, allocations: 0.5171 MB / 0.5 GB, free: 1.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1288, allocations: 0 / 0.5 GB, free: 1.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001463/0.1303, allocations: 0.7249 MB / 0.5007 GB, free: 1.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1303, allocations: 8 kB / 0.5008 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1303, allocations: 3.938 kB / 0.5008 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/0.131, allocations: 154.5 kB / 0.5009 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.1314, allocations: 83.88 kB / 0.501 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.136, allocations: 4.3 MB / 0.5052 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.1363, allocations: 28.02 kB / 0.5052 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.1363, allocations: 20 kB / 0.5052 GB, free: 12.26 MB / 382.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.1365, allocations: 145.8 kB / 0.5054 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.1366, allocations: 23.86 kB / 0.5054 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.1379, allocations: 0.604 MB / 0.506 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1379, allocations: 4 kB / 0.506 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1379, allocations: 0 / 0.506 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1379, allocations: 3.984 kB / 0.506 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.1383, allocations: 356.3 kB / 0.5063 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1383, allocations: 0 / 0.5063 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1386, allocations: 51.91 kB / 0.5064 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006267/0.1392, allocations: 154.5 kB / 0.5065 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.1393, allocations: 8 kB / 0.5065 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004386/0.1436, allocations: 4.279 MB / 0.5107 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1436, allocations: 0 / 0.5107 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.1448, allocations: 0.6313 MB / 0.5113 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.1449, allocations: 27.8 kB / 0.5114 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.1449, allocations: 16.02 kB / 0.5114 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.1452, allocations: 8 kB / 0.5114 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.1452, allocations: 27.94 kB / 0.5114 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.1453, allocations: 8 kB / 0.5114 GB, free: 5.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.1454, allocations: 168 kB / 0.5116 GB, free: 5.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1454, allocations: 0 / 0.5116 GB, free: 5.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.1459, allocations: 112 kB / 0.5117 GB, free: 5.199 MB / 382.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.001623/0.1475, allocations: 1.195 MB / 0.5128 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.1493, allocations: 0.8464 MB / 0.5137 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1493, allocations: 0 / 0.5137 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.1503, allocations: 0.578 MB / 0.5142 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.1506, allocations: 24.61 kB / 0.5143 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2007/0.3513, allocations: 3.615 MB / 0.5178 GB, free: 28.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3515, allocations: 150.5 kB / 0.5179 GB, free: 28.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.3516, allocations: 32.67 kB / 0.518 GB, free: 28.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3517, allocations: 81.75 kB / 0.518 GB, free: 28.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3517, allocations: 0 / 0.518 GB, free: 28.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.3981, allocations: 7.97 MB / 0.5258 GB, free: 28.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.43, allocations: 6.844 kB / 0.5258 GB, free: 28.05 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.130640816991217] Failed to read output from testmodel.py, exit status != 0: 12.59394931094721 12.611249813 12.492632931 Calling exit ...