Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.001348/0.001348, allocations: 113.8 kB / 17.88 MB, free: 5.051 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.001415/0.001415, allocations: 213.6 kB / 20.84 MB, free: 2.105 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.529/1.529, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.03784/0.03784, allocations: 6.132 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.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 52.33 kB / 439.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09936, allocations: 54.98 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.00266/0.102, allocations: 2.193 MB / 497.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.104, allocations: 1.715 MB / 498.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1041, allocations: 8 kB / 498.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.1045, allocations: 159.1 kB / 499 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.1049, allocations: 182.8 kB / 499.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1063, allocations: 0.9571 MB / 0.4884 GB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.1066, allocations: 414 kB / 0.4888 GB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1068, allocations: 91.5 kB / 0.4889 GB, free: 4.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1069, allocations: 175.3 kB / 0.4891 GB, free: 4.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.1071, allocations: 211.1 kB / 0.4893 GB, free: 4.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.1072, allocations: 39.98 kB / 0.4893 GB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.1075, allocations: 223.8 kB / 0.4895 GB, free: 4.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.1076, allocations: 87.61 kB / 0.4896 GB, free: 4.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1077, allocations: 191 kB / 0.4898 GB, free: 3.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.1083, allocations: 0.5487 MB / 0.4903 GB, free: 3.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1083, allocations: 0 / 0.4903 GB, free: 3.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1083, allocations: 0 / 0.4903 GB, free: 3.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1083, allocations: 0 / 0.4903 GB, free: 3.301 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003673/0.1119, allocations: 1.157 MB / 0.4914 GB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.112, allocations: 8.031 kB / 0.4915 GB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.047e-05/0.112, allocations: 8.75 kB / 0.4915 GB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.1121, allocations: 62.72 kB / 0.4915 GB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1122, allocations: 48.66 kB / 0.4916 GB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1125, allocations: 323.6 kB / 0.4919 GB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1125, allocations: 28.94 kB / 0.4919 GB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.1126, allocations: 28.38 kB / 0.4919 GB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.1132, allocations: 424.9 kB / 0.4923 GB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1132, allocations: 0 / 0.4923 GB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.1132, allocations: 8 kB / 0.4923 GB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1132, allocations: 8 kB / 0.4924 GB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.1137, allocations: 414 kB / 0.4927 GB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.116, allocations: 1.538 MB / 0.4943 GB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.1172, allocations: 0.5006 MB / 0.4947 GB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.1176, allocations: 249.5 kB / 0.495 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.501e-05/0.1177, allocations: 12.36 kB / 0.495 GB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1177, allocations: 42.88 kB / 0.495 GB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.654e-06/0.1177, allocations: 0 / 0.495 GB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.005198/0.1229, allocations: 1.631 MB / 0.4966 GB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.123, allocations: 55.41 kB / 0.4967 GB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.1234, allocations: 270.6 kB / 0.4969 GB, free: 12.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.1234, allocations: 41.64 kB / 0.497 GB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1236, allocations: 165 kB / 0.4971 GB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.1237, allocations: 162.5 kB / 0.4973 GB, free: 11.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.1239, allocations: 94.23 kB / 0.4974 GB, free: 11.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1241, allocations: 350.7 kB / 0.4977 GB, free: 11.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.1246, allocations: 265 kB / 0.498 GB, free: 11.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.1251, allocations: 269 kB / 0.4982 GB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.126, allocations: 0.5782 MB / 0.4988 GB, free: 10.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.126, allocations: 4 kB / 0.4988 GB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002606/0.1286, allocations: 1.008 MB / 0.4998 GB, free: 9.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1287, allocations: 4 kB / 0.4998 GB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1287, allocations: 4 kB / 0.4998 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.1307, allocations: 422.1 kB / 0.5002 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.131, allocations: 75.89 kB / 0.5003 GB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008632/0.1397, allocations: 6.096 MB / 0.5062 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.1402, allocations: 35.73 kB / 0.5062 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.1402, allocations: 19.98 kB / 0.5063 GB, free: 2.16 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 (46): * Single equations (assignments): 43 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.1405, allocations: 154.3 kB / 0.5064 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-05/0.1406, allocations: 39.7 kB / 0.5064 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.1432, allocations: 0.9859 MB / 0.5074 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1432, allocations: 4 kB / 0.5074 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1432, allocations: 4 kB / 0.5074 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1432, allocations: 3.984 kB / 0.5074 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.1439, allocations: 0.5599 MB / 0.508 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.144, allocations: 0 / 0.508 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.1442, allocations: 55.91 kB / 0.508 GB, free: 288 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/0.1461, allocations: 422.1 kB / 0.5084 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.1462, allocations: 12 kB / 0.5084 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007599/0.1538, allocations: 6.042 MB / 0.5143 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1538, allocations: 4.062 kB / 0.5143 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.1563, allocations: 0.9941 MB / 0.5153 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1564, allocations: 132.7 kB / 0.5154 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.1565, allocations: 4 kB / 0.5154 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.1568, allocations: 31.97 kB / 0.5155 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.157, allocations: 40.33 kB / 0.5155 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.157, allocations: 16 kB / 0.5155 GB, free: 8.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.1573, allocations: 201.9 kB / 0.5157 GB, free: 7.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1573, allocations: 0 / 0.5157 GB, free: 7.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006408/0.1579, allocations: 163.9 kB / 0.5159 GB, free: 7.766 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 (37): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002896/0.1608, allocations: 1.57 MB / 0.5174 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.1631, allocations: 1.029 MB / 0.5184 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.1631, allocations: 8 kB / 0.5184 GB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.1648, allocations: 0.7287 MB / 0.5191 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.1653, allocations: 59.16 kB / 0.5192 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/0.1745, allocations: 4.684 MB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.175, allocations: 0.7974 MB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.1752, allocations: 46.92 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.1754, allocations: 119.4 kB / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of SimCode: time 1.894e-06/0.1754, allocations: 0 / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/0.2223, allocations: 14.49 MB / 0.5388 GB, free: 160 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.84, allocations: 5.812 kB / 0.5389 GB, free: 156 kB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.738620951015037] Failed to read output from testmodel.py, exit status != 0: 12.989816198998597 13.005185547 12.893937513 Calling exit ...