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.001316/0.001316, allocations: 118 kB / 19.74 MB, free: 2.152 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.001727/0.001727, allocations: 218.3 kB / 23.05 MB, free: 5 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.04004/0.04004, allocations: 6.134 MB / 319.4 MB, free: 12.96 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.92 kB / 444.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 55.01 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.003034/0.1142, allocations: 1.595 MB / 0.4894 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1166, allocations: 1.625 MB / 0.491 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1167, allocations: 4 kB / 0.491 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.1171, allocations: 123.3 kB / 0.4911 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1174, allocations: 147.2 kB / 0.4912 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.1195, allocations: 1.027 MB / 0.4922 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.1199, allocations: 250.8 kB / 0.4925 GB, free: 9.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1201, allocations: 52.8 kB / 0.4925 GB, free: 9.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1202, allocations: 107.6 kB / 0.4926 GB, free: 9.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1204, allocations: 119.5 kB / 0.4927 GB, free: 9.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1204, allocations: 20 kB / 0.4927 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.1209, allocations: 243.8 kB / 0.493 GB, free: 8.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.121, allocations: 55.7 kB / 0.493 GB, free: 8.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1211, allocations: 111.4 kB / 0.4931 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.1217, allocations: 426.6 kB / 0.4935 GB, free: 8.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1217, allocations: 0 / 0.4935 GB, free: 8.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1217, allocations: 4 kB / 0.4935 GB, free: 8.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1217, allocations: 0 / 0.4935 GB, free: 8.375 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.003696/0.1254, allocations: 0.934 MB / 0.4945 GB, free: 7.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1254, allocations: 8.031 kB / 0.4945 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.406e-05/0.1255, allocations: 54.73 kB / 0.4945 GB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.1256, allocations: 24.8 kB / 0.4945 GB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1259, allocations: 202.8 kB / 0.4947 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1259, allocations: 20.64 kB / 0.4948 GB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.126, allocations: 20.38 kB / 0.4948 GB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.1265, allocations: 315.5 kB / 0.4951 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1265, allocations: 3.938 kB / 0.4951 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.1265, allocations: 8 kB / 0.4951 GB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1265, allocations: 4 kB / 0.4951 GB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.127, allocations: 260.2 kB / 0.4953 GB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.1287, allocations: 0.9235 MB / 0.4962 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.1294, allocations: 286.5 kB / 0.4965 GB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.1296, allocations: 140.8 kB / 0.4966 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.1297, allocations: 11.97 kB / 0.4967 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1297, allocations: 38.56 kB / 0.4967 GB, free: 4.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/0.1297, allocations: 0 / 0.4967 GB, free: 4.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.004095/0.1338, allocations: 0.9899 MB / 0.4977 GB, free: 3.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.1339, allocations: 102.8 kB / 0.4978 GB, free: 3.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1341, allocations: 218.6 kB / 0.498 GB, free: 3.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.1342, allocations: 33.7 kB / 0.498 GB, free: 3.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1343, allocations: 136.8 kB / 0.4981 GB, free: 3.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.1344, allocations: 95.2 kB / 0.4982 GB, free: 3.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.1345, allocations: 69.69 kB / 0.4983 GB, free: 3.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1347, allocations: 330.8 kB / 0.4986 GB, free: 2.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.135, allocations: 176.3 kB / 0.4988 GB, free: 2.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.1353, allocations: 214.4 kB / 0.499 GB, free: 2.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.1359, allocations: 394.7 kB / 0.4994 GB, free: 2.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1359, allocations: 0 / 0.4994 GB, free: 2.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002259/0.1382, allocations: 0.7398 MB / 0.5001 GB, free: 1.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1382, allocations: 4 kB / 0.5001 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1382, allocations: 0 / 0.5001 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.1404, allocations: 424.4 kB / 0.5005 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1407, allocations: 59.89 kB / 0.5005 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.1455, allocations: 2.624 MB / 0.5031 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.1458, allocations: 39.78 kB / 0.5031 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.1459, allocations: 15.98 kB / 0.5032 GB, free: 14.16 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.000172/0.146, allocations: 137.9 kB / 0.5033 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.1461, allocations: 27.84 kB / 0.5033 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.1484, allocations: 0.6794 MB / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1484, allocations: 4 kB / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.1484, allocations: 0 / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1484, allocations: 7.922 kB / 0.504 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.1488, allocations: 368.3 kB / 0.5043 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1488, allocations: 0 / 0.5043 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.149, allocations: 39.91 kB / 0.5044 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.1511, allocations: 416.4 kB / 0.5048 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.1511, allocations: 4 kB / 0.5048 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00442/0.1555, allocations: 2.604 MB / 0.5073 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1555, allocations: 0 / 0.5073 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.1577, allocations: 0.73 MB / 0.508 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1577, allocations: 27.8 kB / 0.5081 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.1578, allocations: 11.98 kB / 0.5081 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.1581, allocations: 23.92 kB / 0.5081 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.1582, allocations: 23.97 kB / 0.5081 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.1582, allocations: 15.98 kB / 0.5081 GB, free: 8.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.1584, allocations: 158.8 kB / 0.5083 GB, free: 8.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1584, allocations: 0 / 0.5083 GB, free: 8.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.1589, allocations: 103.9 kB / 0.5084 GB, free: 8.594 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.002618/0.1615, allocations: 1.295 MB / 0.5096 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.163, allocations: 0.5765 MB / 0.5102 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.163, allocations: 0 / 0.5102 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.1641, allocations: 402.3 kB / 0.5106 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1644, allocations: 31.92 kB / 0.5106 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/0.1714, allocations: 3.489 MB / 0.514 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1719, allocations: 0.7486 MB / 0.5148 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.172, allocations: 26.02 kB / 0.5148 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.1721, allocations: 75.41 kB / 0.5149 GB, free: 1.797 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1721, allocations: 0 / 0.5149 GB, free: 1.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2348/0.4069, allocations: 9.935 MB / 0.5246 GB, free: 30.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.36, allocations: 3.688 kB / 0.5246 GB, free: 30.15 MB / 382.1 MB " [Timeout remaining time 647] (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.17082870611921] Failed to read output from testmodel.py, exit status != 0: 13.483612373005599 13.507830927 13.382317308 Calling exit ...