Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.001272/0.001272, allocations: 115.7 kB / 17.17 MB, free: 6.039 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.001327/0.001327, allocations: 208.2 kB / 20.14 MB, free: 3.09 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.5/1.5, allocations: 230.6 MB / 253.5 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.03823/0.03823, allocations: 6.137 MB / 315.7 MB, free: 1.184 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 48.89 kB / 439.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09528, allocations: 54.99 MB / 494.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002534/0.09781, allocations: 1.537 MB / 495.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.09941, allocations: 1.629 MB / 497.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.09949, allocations: 4 kB / 497.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.09981, allocations: 119.3 kB / 497.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1001, allocations: 111.3 kB / 497.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.1014, allocations: 0.9843 MB / 498.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.1017, allocations: 250.8 kB / 498.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1019, allocations: 56.59 kB / 498.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.1019, allocations: 107.6 kB / 499 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1021, allocations: 131.5 kB / 499.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1021, allocations: 16 kB / 499.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.1024, allocations: 243.8 kB / 499.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.1025, allocations: 47.83 kB / 499.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.1025, allocations: 123.4 kB / 499.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.1029, allocations: 422.6 kB / 500 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1029, allocations: 0 / 500 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1029, allocations: 0 / 500 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1029, allocations: 4 kB / 500 MB, free: 4.719 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002921/0.1059, allocations: 0.9076 MB / 0.4891 GB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1059, allocations: 12.03 kB / 0.4892 GB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.1059, allocations: 54.72 kB / 0.4892 GB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.106, allocations: 32.69 kB / 0.4892 GB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.1063, allocations: 256.6 kB / 0.4895 GB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1063, allocations: 20.16 kB / 0.4895 GB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.1063, allocations: 20.38 kB / 0.4895 GB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1067, allocations: 278 kB / 0.4898 GB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1067, allocations: 3.938 kB / 0.4898 GB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1067, allocations: 8 kB / 0.4898 GB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1068, allocations: 8 kB / 0.4898 GB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.1071, allocations: 287.5 kB / 0.4901 GB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1083, allocations: 1.137 MB / 0.4912 GB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.1088, allocations: 322.4 kB / 0.4915 GB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.109, allocations: 165.3 kB / 0.4917 GB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.853e-05/0.1091, allocations: 15.97 kB / 0.4917 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.1091, allocations: 42.56 kB / 0.4917 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.1091, allocations: 0 / 0.4917 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.008635/0.1177, allocations: 1.548 MB / 0.4932 GB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.1178, allocations: 55.41 kB / 0.4933 GB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.118, allocations: 173.2 kB / 0.4934 GB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.118, allocations: 37.7 kB / 0.4935 GB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.1181, allocations: 121 kB / 0.4936 GB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1182, allocations: 107 kB / 0.4937 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1183, allocations: 61.69 kB / 0.4938 GB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1185, allocations: 334.8 kB / 0.4941 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.1188, allocations: 175.9 kB / 0.4942 GB, free: 14.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.1191, allocations: 168 kB / 0.4944 GB, free: 14.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.1197, allocations: 397.6 kB / 0.4948 GB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1197, allocations: 4 kB / 0.4948 GB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005127/0.1248, allocations: 0.9928 MB / 0.4958 GB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1248, allocations: 8 kB / 0.4958 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1248, allocations: 3.984 kB / 0.4958 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005633/0.1305, allocations: 0.7226 MB / 0.4965 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1307, allocations: 43.92 kB / 0.4965 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008214/0.1389, allocations: 3.646 MB / 0.5001 GB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.1391, allocations: 27.78 kB / 0.5001 GB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.1392, allocations: 12 kB / 0.5001 GB, free: 8.105 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 (25): * Single equations (assignments): 24 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.1394, allocations: 137.8 kB / 0.5002 GB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.1394, allocations: 27.8 kB / 0.5003 GB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.1448, allocations: 1.019 MB / 0.5013 GB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1448, allocations: 4 kB / 0.5013 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1448, allocations: 0 / 0.5013 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1448, allocations: 0 / 0.5013 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.1453, allocations: 429.1 kB / 0.5017 GB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1453, allocations: 0 / 0.5017 GB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1455, allocations: 43.92 kB / 0.5017 GB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005577/0.1511, allocations: 0.7148 MB / 0.5024 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.1511, allocations: 11.98 kB / 0.5024 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00781/0.1589, allocations: 3.586 MB / 0.5059 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1589, allocations: 0 / 0.5059 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.1643, allocations: 1.065 MB / 0.507 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1644, allocations: 108.8 kB / 0.5071 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.1644, allocations: 8 kB / 0.5071 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.1647, allocations: 19.98 kB / 0.5071 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.1649, allocations: 27.95 kB / 0.5071 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.1649, allocations: 15.98 kB / 0.5071 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.165, allocations: 128.3 kB / 0.5073 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.165, allocations: 3.938 kB / 0.5073 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005575/0.1656, allocations: 116 kB / 0.5074 GB, free: 416 kB / 366.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 (23): * Single equations (assignments): 22 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005645/0.1712, allocations: 1.63 MB / 0.509 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.1732, allocations: 0.7127 MB / 0.5097 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1732, allocations: 4 kB / 0.5097 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.1745, allocations: 0.4944 MB / 0.5102 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1749, allocations: 37.27 kB / 0.5102 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.1881, allocations: 3.992 MB / 0.5141 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.1886, allocations: 0.7489 MB / 0.5148 GB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.1887, allocations: 29.92 kB / 0.5148 GB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.1889, allocations: 71.41 kB / 0.5149 GB, free: 8.523 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1889, allocations: 0 / 0.5149 GB, free: 8.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04573/0.2346, allocations: 11.99 MB / 0.5266 GB, free: 12.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.11, allocations: 10.09 kB / 0.5266 GB, free: 12.67 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.741393014090136] Failed to read output from testmodel.py, exit status != 0: 12.203457297990099 12.217518792 12.111842551 Calling exit ...