Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.001698/0.001698, 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.00234/0.00234, allocations: 216.3 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.491/1.491, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.0379/0.0379, allocations: 6.128 MB / 320.1 MB, free: 12.83 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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 51.92 kB / 445.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1127, allocations: 55.03 MB / 0.4885 GB, free: 14.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.00289/0.1156, allocations: 1.421 MB / 0.4899 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.118, allocations: 1.54 MB / 0.4914 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.407e-05/0.1181, allocations: 4 kB / 0.4914 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.1186, allocations: 127.3 kB / 0.4915 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.119, allocations: 147.1 kB / 0.4917 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.121, allocations: 0.9437 MB / 0.4926 GB, free: 9.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.1214, allocations: 242.8 kB / 0.4928 GB, free: 9.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.1216, allocations: 52.78 kB / 0.4929 GB, free: 9.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1217, allocations: 107.6 kB / 0.493 GB, free: 9.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.122, allocations: 135.4 kB / 0.4931 GB, free: 9.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.122, allocations: 16 kB / 0.4931 GB, free: 9.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.1225, allocations: 231.8 kB / 0.4933 GB, free: 9.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.1226, allocations: 51.77 kB / 0.4934 GB, free: 8.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1227, allocations: 95.59 kB / 0.4935 GB, free: 8.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.1233, allocations: 422.5 kB / 0.4939 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1233, allocations: 4 kB / 0.4939 GB, free: 8.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1233, allocations: 0 / 0.4939 GB, free: 8.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1233, allocations: 4 kB / 0.4939 GB, free: 8.477 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003871/0.1271, allocations: 0.934 MB / 0.4948 GB, free: 7.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1272, allocations: 8.031 kB / 0.4948 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.178e-05/0.1272, allocations: 8.516 kB / 0.4948 GB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.1273, allocations: 54.73 kB / 0.4949 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.1273, allocations: 24.8 kB / 0.4949 GB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1277, allocations: 198.8 kB / 0.4951 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1277, allocations: 20.7 kB / 0.4951 GB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1277, allocations: 20.31 kB / 0.4951 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.1283, allocations: 465.5 kB / 0.4956 GB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1283, allocations: 7.938 kB / 0.4956 GB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1284, allocations: 12 kB / 0.4956 GB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1284, allocations: 4 kB / 0.4956 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.1288, allocations: 255.8 kB / 0.4958 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.1304, allocations: 0.7491 MB / 0.4966 GB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.1311, allocations: 282.5 kB / 0.4968 GB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.1313, allocations: 136.8 kB / 0.497 GB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.1313, allocations: 15.98 kB / 0.497 GB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1314, allocations: 34.5 kB / 0.497 GB, free: 5.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.1314, allocations: 0 / 0.497 GB, free: 5.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.004198/0.1356, allocations: 0.9899 MB / 0.498 GB, free: 4.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.1357, allocations: 106.8 kB / 0.4981 GB, free: 3.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1359, allocations: 222.7 kB / 0.4983 GB, free: 3.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.1359, allocations: 29.7 kB / 0.4983 GB, free: 3.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1361, allocations: 132.8 kB / 0.4984 GB, free: 3.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.1361, allocations: 91.22 kB / 0.4985 GB, free: 3.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1363, allocations: 73.67 kB / 0.4986 GB, free: 3.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1364, allocations: 330.8 kB / 0.4989 GB, free: 3.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.1367, allocations: 176.2 kB / 0.4991 GB, free: 2.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.1371, allocations: 261.9 kB / 0.4993 GB, free: 2.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.1377, allocations: 390.8 kB / 0.4997 GB, free: 2.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1377, allocations: 0 / 0.4997 GB, free: 2.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00228/0.14, allocations: 0.7359 MB / 0.5004 GB, free: 1.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.14, allocations: 4 kB / 0.5004 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.14, allocations: 0 / 0.5004 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.1423, allocations: 432.3 kB / 0.5008 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.1426, allocations: 55.95 kB / 0.5009 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004843/0.1474, allocations: 2.588 MB / 0.5034 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.1477, allocations: 35.78 kB / 0.5035 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.1478, allocations: 15.98 kB / 0.5035 GB, free: 14.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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.148, allocations: 137.8 kB / 0.5036 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.148, allocations: 23.86 kB / 0.5036 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.1503, allocations: 0.6833 MB / 0.5043 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1503, allocations: 4 kB / 0.5043 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1503, allocations: 0 / 0.5043 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1503, allocations: 7.922 kB / 0.5043 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1508, allocations: 292.5 kB / 0.5046 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1508, allocations: 4 kB / 0.5046 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.1509, allocations: 39.97 kB / 0.5046 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.1531, allocations: 420.5 kB / 0.505 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1531, allocations: 4 kB / 0.505 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00444/0.1576, allocations: 2.545 MB / 0.5075 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1576, allocations: 0 / 0.5075 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.1598, allocations: 0.7417 MB / 0.5082 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1598, allocations: 23.8 kB / 0.5083 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.1599, allocations: 11.92 kB / 0.5083 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.1601, allocations: 19.98 kB / 0.5083 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.1602, allocations: 28.03 kB / 0.5083 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.1602, allocations: 16 kB / 0.5083 GB, free: 9.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1604, allocations: 154.8 kB / 0.5085 GB, free: 8.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 0.5085 GB, free: 8.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000527/0.161, allocations: 103.9 kB / 0.5086 GB, free: 8.82 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002531/0.1635, allocations: 1.291 MB / 0.5098 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.165, allocations: 0.5804 MB / 0.5104 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.165, allocations: 0 / 0.5104 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.1661, allocations: 398.3 kB / 0.5108 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1665, allocations: 31.92 kB / 0.5108 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/0.1734, allocations: 3.497 MB / 0.5142 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.1736, allocations: 138.8 kB / 0.5144 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1737, allocations: 33.92 kB / 0.5144 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.1738, allocations: 79.41 kB / 0.5145 GB, free: 2.629 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1738, allocations: 0 / 0.5145 GB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2413/0.4151, allocations: 9.615 MB / 0.5239 GB, free: 30.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.57, allocations: 5.875 kB / 0.5239 GB, free: 30.39 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.268658788059838] Failed to read output from testmodel.py, exit status != 0: 13.750376111012883 13.777321751 13.649491014 Calling exit ...