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.001801/0.001801, 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.00238/0.00238, 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.518/1.518, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.04537/0.04537, allocations: 6.135 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.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.001481/0.001481, allocations: 48.42 kB / 439.9 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09103, allocations: 54.98 MB / 494.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002406/0.09344, allocations: 1.778 MB / 496.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.09495, allocations: 1.621 MB / 498.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.09504, allocations: 4 kB / 498.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.09535, allocations: 131.3 kB / 498.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.0956, allocations: 139.1 kB / 498.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.09651, allocations: 0.6534 MB / 499.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.09679, allocations: 298.5 kB / 499.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.09694, allocations: 77.92 kB / 499.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.09702, allocations: 131.5 kB / 499.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.09714, allocations: 151.4 kB / 499.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.09717, allocations: 24 kB / 499.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.09744, allocations: 187.8 kB / 0.4884 GB, free: 5.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.09748, allocations: 59.77 kB / 0.4884 GB, free: 5.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.09758, allocations: 143.2 kB / 0.4886 GB, free: 5.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.09798, allocations: 434.5 kB / 0.489 GB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.09798, allocations: 0 / 0.489 GB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09798, allocations: 0 / 0.489 GB, free: 4.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.098, allocations: 7.938 kB / 0.489 GB, free: 4.656 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00289/0.1009, allocations: 0.9665 MB / 0.4899 GB, free: 3.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1009, allocations: 12.03 kB / 0.4899 GB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.71e-05/0.1009, allocations: 4.625 kB / 0.4899 GB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.101, allocations: 58.73 kB / 0.49 GB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.1011, allocations: 32.8 kB / 0.49 GB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1013, allocations: 270.7 kB / 0.4903 GB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1013, allocations: 20.75 kB / 0.4903 GB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.1014, allocations: 28.38 kB / 0.4903 GB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.1018, allocations: 343.5 kB / 0.4907 GB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1019, allocations: 4 kB / 0.4907 GB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.1019, allocations: 7.938 kB / 0.4907 GB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1019, allocations: 4 kB / 0.4907 GB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.1023, allocations: 341.6 kB / 0.491 GB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1037, allocations: 1.017 MB / 0.492 GB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.1041, allocations: 370.4 kB / 0.4924 GB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.1043, allocations: 208.8 kB / 0.4926 GB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.1044, allocations: 11.94 kB / 0.4926 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1044, allocations: 35.16 kB / 0.4926 GB, free: 0.7852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.1044, allocations: 0 / 0.4926 GB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002389/0.1068, allocations: 1.057 MB / 0.4936 GB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.1069, allocations: 55.41 kB / 0.4937 GB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1071, allocations: 226.8 kB / 0.4939 GB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.1072, allocations: 37.7 kB / 0.4939 GB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1073, allocations: 148.7 kB / 0.4941 GB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1074, allocations: 126.9 kB / 0.4942 GB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.1076, allocations: 86.05 kB / 0.4943 GB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1077, allocations: 334.8 kB / 0.4946 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.1081, allocations: 236.8 kB / 0.4948 GB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.1085, allocations: 239.9 kB / 0.4951 GB, free: 14.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.1092, allocations: 0.5054 MB / 0.4956 GB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1092, allocations: 0 / 0.4956 GB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001432/0.1107, allocations: 0.721 MB / 0.4963 GB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1107, allocations: 4 kB / 0.4963 GB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1107, allocations: 0 / 0.4963 GB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007106/0.1114, allocations: 162.5 kB / 0.4964 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.1118, allocations: 79.83 kB / 0.4965 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004632/0.1164, allocations: 4.617 MB / 0.501 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.1167, allocations: 43.64 kB / 0.501 GB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.1168, allocations: 8 kB / 0.501 GB, free: 7.566 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 (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.0001909/0.117, allocations: 154.4 kB / 0.5012 GB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.117, allocations: 23.86 kB / 0.5012 GB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.1184, allocations: 0.5935 MB / 0.5018 GB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1184, allocations: 4 kB / 0.5018 GB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1184, allocations: 7.984 kB / 0.5018 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1184, allocations: 0 / 0.5018 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.1189, allocations: 465 kB / 0.5023 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1189, allocations: 3.938 kB / 0.5023 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.1191, allocations: 47.97 kB / 0.5023 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006383/0.1198, allocations: 158.4 kB / 0.5025 GB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1198, allocations: 4 kB / 0.5025 GB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/0.1242, allocations: 4.603 MB / 0.507 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1242, allocations: 0 / 0.507 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.1255, allocations: 0.6272 MB / 0.5076 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.1255, allocations: 108.9 kB / 0.5077 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1256, allocations: 7.984 kB / 0.5077 GB, free: 232 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.1258, allocations: 8 kB / 0.5077 GB, free: 224 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.1259, allocations: 23.97 kB / 0.5077 GB, free: 200 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.1259, allocations: 11.94 kB / 0.5077 GB, free: 188 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1261, allocations: 168.1 kB / 0.5079 GB, free: 20 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 3.938 kB / 0.5079 GB, free: 16 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.1266, allocations: 116 kB / 0.508 GB, free: 15.9 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.001601/0.1282, allocations: 1.191 MB / 0.5092 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.1299, allocations: 0.8342 MB / 0.51 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1299, allocations: 0 / 0.51 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.131, allocations: 0.5818 MB / 0.5105 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1313, allocations: 16.67 kB / 0.5106 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.1368, allocations: 3.586 MB / 0.5141 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1373, allocations: 0.7533 MB / 0.5148 GB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.1374, allocations: 34.25 kB / 0.5148 GB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.1376, allocations: 79.41 kB / 0.5149 GB, free: 8.586 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1376, allocations: 0 / 0.5149 GB, free: 8.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.1707, allocations: 7.55 MB / 0.5223 GB, free: 1.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.66, allocations: 19.47 kB / 0.5223 GB, free: 1.156 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.525871654041111] Failed to read output from testmodel.py, exit status != 0: 10.806609093036968 10.83604115 10.732402193 Calling exit ...