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.001277/0.001277, allocations: 108.3 kB / 17.16 MB, free: 5.855 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.001395/0.001395, allocations: 213.1 kB / 20.14 MB, free: 2.898 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.517/1.517, allocations: 230.6 MB / 253.5 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.04089/0.04089, allocations: 6.127 MB / 315.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 54.47 kB / 439.2 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08283, allocations: 54.98 MB / 494.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.002554/0.08539, allocations: 2.195 MB / 496.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.08725, allocations: 1.723 MB / 498.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.08739, allocations: 8 kB / 498.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.08779, allocations: 155.1 kB / 498.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.08818, allocations: 182.8 kB / 498.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.08963, allocations: 0.9532 MB / 499.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.09003, allocations: 418 kB / 499.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.09019, allocations: 91.5 kB / 499.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.0903, allocations: 171.3 kB / 0.4884 GB, free: 4.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.09051, allocations: 219.1 kB / 0.4886 GB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.09055, allocations: 32 kB / 0.4886 GB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.09088, allocations: 235.8 kB / 0.4888 GB, free: 4.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.09092, allocations: 83.62 kB / 0.4889 GB, free: 4.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.09104, allocations: 191 kB / 0.4891 GB, free: 3.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.09151, allocations: 0.541 MB / 0.4896 GB, free: 3.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.09151, allocations: 0 / 0.4896 GB, free: 3.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09151, allocations: 4 kB / 0.4896 GB, free: 3.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.09152, allocations: 0 / 0.4896 GB, free: 3.273 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.003579/0.0951, allocations: 1.161 MB / 0.4908 GB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.09514, allocations: 8.031 kB / 0.4908 GB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.0952, allocations: 66.72 kB / 0.4908 GB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.09528, allocations: 44.66 kB / 0.4909 GB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.09562, allocations: 323.7 kB / 0.4912 GB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.09564, allocations: 24.94 kB / 0.4912 GB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.09569, allocations: 32.38 kB / 0.4912 GB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.09621, allocations: 421.3 kB / 0.4916 GB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.09623, allocations: 7.922 kB / 0.4917 GB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.09626, allocations: 16 kB / 0.4917 GB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.09627, allocations: 4 kB / 0.4917 GB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.09674, allocations: 406.1 kB / 0.4921 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.09893, allocations: 1.534 MB / 0.4936 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.1002, allocations: 0.5081 MB / 0.4941 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.1006, allocations: 245.5 kB / 0.4943 GB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/0.1006, allocations: 16.36 kB / 0.4943 GB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1007, allocations: 38.94 kB / 0.4943 GB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.913e-06/0.1007, allocations: 0 / 0.4943 GB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.00504/0.1057, allocations: 1.631 MB / 0.4959 GB, free: 12.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1058, allocations: 59.41 kB / 0.496 GB, free: 12.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.1061, allocations: 266.7 kB / 0.4962 GB, free: 12.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.1062, allocations: 37.7 kB / 0.4963 GB, free: 12.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1063, allocations: 161.1 kB / 0.4964 GB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.1065, allocations: 174.5 kB / 0.4966 GB, free: 11.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1066, allocations: 94.23 kB / 0.4967 GB, free: 11.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1068, allocations: 346.7 kB / 0.497 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.1072, allocations: 261 kB / 0.4973 GB, free: 11.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.1077, allocations: 269 kB / 0.4975 GB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.1086, allocations: 0.5821 MB / 0.4981 GB, free: 10.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1086, allocations: 0 / 0.4981 GB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00259/0.1112, allocations: 1.004 MB / 0.4991 GB, free: 9.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1112, allocations: 8 kB / 0.4991 GB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1112, allocations: 4 kB / 0.4991 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/0.1132, allocations: 426.1 kB / 0.4995 GB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.1136, allocations: 71.89 kB / 0.4996 GB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/0.1216, allocations: 6.087 MB / 0.5055 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.122, allocations: 35.73 kB / 0.5055 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.122, allocations: 23.98 kB / 0.5056 GB, free: 2.141 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.0002255/0.1222, allocations: 160.2 kB / 0.5057 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.1223, allocations: 39.7 kB / 0.5058 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.125, allocations: 0.9859 MB / 0.5067 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.125, allocations: 8 kB / 0.5067 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.125, allocations: 0 / 0.5067 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.125, allocations: 7.969 kB / 0.5067 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.1257, allocations: 0.5638 MB / 0.5073 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1257, allocations: 0 / 0.5073 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.1259, allocations: 59.91 kB / 0.5073 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.1279, allocations: 422.1 kB / 0.5077 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.1279, allocations: 12 kB / 0.5078 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007548/0.1354, allocations: 6.034 MB / 0.5136 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1354, allocations: 0 / 0.5136 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.1379, allocations: 0.998 MB / 0.5146 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.138, allocations: 124.7 kB / 0.5147 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.1381, allocations: 7.938 kB / 0.5147 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.1385, allocations: 36.22 kB / 0.5148 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1386, allocations: 36.39 kB / 0.5148 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1386, allocations: 20 kB / 0.5148 GB, free: 8.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1389, allocations: 197.9 kB / 0.515 GB, free: 7.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1389, allocations: 0 / 0.515 GB, free: 7.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006317/0.1395, allocations: 171.8 kB / 0.5152 GB, free: 7.738 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.002795/0.1423, allocations: 1.57 MB / 0.5167 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.1444, allocations: 1.029 MB / 0.5177 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1444, allocations: 0 / 0.5177 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.1459, allocations: 0.7365 MB / 0.5184 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.1464, allocations: 48.48 kB / 0.5185 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/0.1552, allocations: 4.686 MB / 0.5231 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.1557, allocations: 0.7974 MB / 0.5238 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.1558, allocations: 54.84 kB / 0.5239 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.156, allocations: 115.4 kB / 0.524 GB, free: 14.46 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.156, allocations: 4 kB / 0.524 GB, free: 14.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04971/0.2057, allocations: 14.45 MB / 0.5381 GB, free: 160 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.3, allocations: 5.734 kB / 0.5381 GB, free: 156 kB / 398.1 MB " [Timeout remaining time 648] (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.041074021020904] Failed to read output from testmodel.py, exit status != 0: 12.398919771192595 12.426303378 12.329849445 Calling exit ...