Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.001338/0.001338, 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.001362/0.001362, allocations: 216.5 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.467/1.467, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.03827/0.03827, allocations: 6.133 MB / 320.1 MB, free: 12.75 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 43.92 kB / 445.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 55.03 MB / 0.4885 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003315/0.1069, allocations: 1.989 MB / 0.4904 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1093, allocations: 1.656 MB / 0.4921 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1094, allocations: 4 kB / 0.4921 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.1098, allocations: 163.1 kB / 0.4922 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1103, allocations: 206.7 kB / 0.4924 GB, free: 9.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.1126, allocations: 1.115 MB / 0.4935 GB, free: 8.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.1131, allocations: 402.1 kB / 0.4939 GB, free: 8.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1133, allocations: 79.7 kB / 0.494 GB, free: 8.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.1135, allocations: 175.3 kB / 0.4941 GB, free: 8.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.1138, allocations: 207.1 kB / 0.4943 GB, free: 7.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.1138, allocations: 32 kB / 0.4944 GB, free: 7.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.1143, allocations: 271.7 kB / 0.4946 GB, free: 7.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.1144, allocations: 83.67 kB / 0.4947 GB, free: 7.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1146, allocations: 155.2 kB / 0.4948 GB, free: 7.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000767/0.1154, allocations: 0.5838 MB / 0.4954 GB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1154, allocations: 0 / 0.4954 GB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1154, allocations: 0 / 0.4954 GB, free: 6.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1154, allocations: 4 kB / 0.4954 GB, free: 6.852 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005334/0.1207, allocations: 1.308 MB / 0.4967 GB, free: 5.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1208, allocations: 12.03 kB / 0.4967 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.347e-05/0.1208, allocations: 8.844 kB / 0.4967 GB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.785e-05/0.1209, allocations: 58.73 kB / 0.4968 GB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.121, allocations: 44.66 kB / 0.4968 GB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.1214, allocations: 265.4 kB / 0.4971 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1214, allocations: 25.03 kB / 0.4971 GB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.1215, allocations: 36.38 kB / 0.4971 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/0.1224, allocations: 0.6756 MB / 0.4978 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1224, allocations: 0 / 0.4978 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.1224, allocations: 12 kB / 0.4978 GB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1224, allocations: 11.94 kB / 0.4978 GB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.1231, allocations: 438.5 kB / 0.4982 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.1255, allocations: 1.119 MB / 0.4993 GB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.1265, allocations: 490.3 kB / 0.4998 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.1269, allocations: 248.8 kB / 0.5 GB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.1269, allocations: 8 kB / 0.5 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.127, allocations: 38.56 kB / 0.5001 GB, free: 1.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.684e-06/0.127, allocations: 0 / 0.5001 GB, free: 1.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007106/0.1341, allocations: 1.782 MB / 0.5018 GB, free: 100 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1342, allocations: 106.8 kB / 0.5019 GB, free: 15.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.1345, allocations: 273.8 kB / 0.5022 GB, free: 15.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.1345, allocations: 37.7 kB / 0.5022 GB, free: 15.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1347, allocations: 161.1 kB / 0.5024 GB, free: 15.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1348, allocations: 150.6 kB / 0.5025 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.135, allocations: 110.3 kB / 0.5026 GB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1352, allocations: 346.8 kB / 0.5029 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.1357, allocations: 305.2 kB / 0.5032 GB, free: 14.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.1363, allocations: 401.1 kB / 0.5036 GB, free: 14.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1373, allocations: 0.6586 MB / 0.5043 GB, free: 13.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1373, allocations: 0 / 0.5043 GB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003712/0.141, allocations: 1.259 MB / 0.5055 GB, free: 12.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1411, allocations: 7.938 kB / 0.5055 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1411, allocations: 4 kB / 0.5055 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/0.145, allocations: 0.7838 MB / 0.5063 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.1454, allocations: 91.83 kB / 0.5064 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/0.1533, allocations: 3.978 MB / 0.5102 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.1538, allocations: 51.62 kB / 0.5103 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.1538, allocations: 23.92 kB / 0.5103 GB, free: 7.191 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 (51): * Single equations (assignments): 50 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.1541, allocations: 159.5 kB / 0.5105 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.1542, allocations: 35.75 kB / 0.5105 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.1579, allocations: 1.206 MB / 0.5117 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.1579, allocations: 12 kB / 0.5117 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1579, allocations: 3.984 kB / 0.5117 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1579, allocations: 0 / 0.5117 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.1585, allocations: 432.8 kB / 0.5121 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1585, allocations: 0 / 0.5121 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.1587, allocations: 59.92 kB / 0.5122 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/0.1624, allocations: 0.7572 MB / 0.5129 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.1625, allocations: 12 kB / 0.5129 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/0.1702, allocations: 3.927 MB / 0.5167 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1702, allocations: 0 / 0.5167 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1865/0.3567, allocations: 1.221 MB / 0.5179 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3569, allocations: 40.52 kB / 0.518 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.357, allocations: 10.34 kB / 0.518 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.3573, allocations: 25.89 kB / 0.518 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3575, allocations: 42.72 kB / 0.5181 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.3576, allocations: 16.39 kB / 0.5181 GB, free: 30.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.3577, allocations: 196.8 kB / 0.5183 GB, free: 29.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3577, allocations: 0 / 0.5183 GB, free: 29.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006345/0.3584, allocations: 176.2 kB / 0.5184 GB, free: 29.97 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 (36): * Single equations (assignments): 35 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003566/0.3619, allocations: 1.78 MB / 0.5202 GB, free: 29.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.3644, allocations: 0.9956 MB / 0.5211 GB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3644, allocations: 0 / 0.5211 GB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.3663, allocations: 0.6574 MB / 0.5218 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3667, allocations: 41.12 kB / 0.5218 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.3771, allocations: 5.159 MB / 0.5269 GB, free: 27.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3773, allocations: 195 kB / 0.527 GB, free: 27.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.3775, allocations: 53.45 kB / 0.5271 GB, free: 27.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.3776, allocations: 122.6 kB / 0.5272 GB, free: 27.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.3776, allocations: 0 / 0.5272 GB, free: 27.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04088/0.4185, allocations: 15.15 MB / 0.542 GB, free: 22.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/13.95, allocations: 0 / 0.542 GB, free: 22.12 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.585067664040253] Failed to read output from testmodel.py, exit status != 0: 14.130844413070008 14.142959836 14.025233635 Calling exit ...