Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 108.9 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 196.5 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05025/0.05025, allocations: 8.221 MB / 311.6 MB, free: 2.094 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.89 kB / 434 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.254, allocations: 54.35 MB / 488.3 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002492/0.2565, allocations: 1.235 MB / 489.5 MB, free: 26.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2581, allocations: 1.494 MB / 491 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.2582, allocations: 2.812 kB / 491 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.2585, allocations: 109.6 kB / 491.1 MB, free: 25.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.2587, allocations: 75.03 kB / 491.2 MB, free: 25.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2602, allocations: 0.9049 MB / 492.1 MB, free: 24.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2604, allocations: 157.5 kB / 492.3 MB, free: 24.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2605, allocations: 39.31 kB / 492.3 MB, free: 24.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.2606, allocations: 60.12 kB / 492.4 MB, free: 24.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2608, allocations: 88.8 kB / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2608, allocations: 13.5 kB / 492.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.2611, allocations: 196.6 kB / 492.7 MB, free: 24.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.2612, allocations: 37.28 kB / 492.7 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.2612, allocations: 79.03 kB / 492.8 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.2616, allocations: 316.5 kB / 493.1 MB, free: 23.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2616, allocations: 0 / 493.1 MB, free: 23.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2616, allocations: 0 / 493.1 MB, free: 23.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2616, allocations: 0 / 493.1 MB, free: 23.96 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001551/0.2632, allocations: 0.6345 MB / 493.7 MB, free: 23.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.2632, allocations: 13.39 kB / 493.7 MB, free: 23.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.2633, allocations: 46.77 kB / 493.8 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.2633, allocations: 18.16 kB / 493.8 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.2636, allocations: 221.8 kB / 494 MB, free: 23.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2636, allocations: 9.984 kB / 494 MB, free: 23.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2636, allocations: 16 kB / 494 MB, free: 23.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.2639, allocations: 174.7 kB / 494.2 MB, free: 22.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2639, allocations: 0 / 494.2 MB, free: 22.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.2639, allocations: 5.406 kB / 494.2 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.264, allocations: 3.562 kB / 494.2 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.2642, allocations: 155.1 kB / 494.4 MB, free: 22.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.265, allocations: 0.7105 MB / 495.1 MB, free: 22.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.2655, allocations: 193.7 kB / 495.3 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2656, allocations: 84.58 kB / 495.4 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.2656, allocations: 6.609 kB / 495.4 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.2656, allocations: 37.44 kB / 495.4 MB, free: 22.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.2656, allocations: 0 / 495.4 MB, free: 22.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001504/0.2671, allocations: 0.5588 MB / 496 MB, free: 21.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.2672, allocations: 61.12 kB / 496 MB, free: 21.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.2673, allocations: 171.1 kB / 496.2 MB, free: 21.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2673, allocations: 32.33 kB / 496.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.2674, allocations: 114 kB / 496.3 MB, free: 21.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.2674, allocations: 53.31 kB / 496.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.2675, allocations: 45.33 kB / 496.4 MB, free: 21.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.2675, allocations: 325.7 kB / 496.7 MB, free: 20.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2677, allocations: 90.75 kB / 496.8 MB, free: 20.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2678, allocations: 100.8 kB / 496.9 MB, free: 20.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.2681, allocations: 213.3 kB / 497.1 MB, free: 20.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2681, allocations: 0 / 497.1 MB, free: 20.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007313/0.2688, allocations: 369.7 kB / 497.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2688, allocations: 10.88 kB / 497.5 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2688, allocations: 0 / 497.5 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.2694, allocations: 148 kB / 497.7 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2695, allocations: 26.58 kB / 497.7 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.2714, allocations: 2.034 MB / 499.7 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2716, allocations: 15.33 kB / 499.7 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2716, allocations: 13.7 kB / 499.7 MB, free: 18.5 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.2717, allocations: 137.1 kB / 499.9 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.2717, allocations: 18.45 kB / 499.9 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.2724, allocations: 357.1 kB / 0.4885 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2724, allocations: 2.094 kB / 0.4885 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2724, allocations: 1.062 kB / 0.4885 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2725, allocations: 0 / 0.4885 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.2727, allocations: 292 kB / 0.4888 GB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2727, allocations: 9.219 kB / 0.4888 GB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.2727, allocations: 27.36 kB / 0.4888 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.2732, allocations: 135.1 kB / 0.489 GB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2733, allocations: 5.219 kB / 0.489 GB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.2749, allocations: 2.01 MB / 0.4909 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2749, allocations: 0 / 0.4909 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.2756, allocations: 412.9 kB / 0.4913 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.2756, allocations: 105.6 kB / 0.4914 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.2756, allocations: 5.062 kB / 0.4914 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2758, allocations: 9.781 kB / 0.4914 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.2758, allocations: 18.02 kB / 0.4915 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2758, allocations: 11.81 kB / 0.4915 GB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.169e-05/0.2759, allocations: 130.2 kB / 0.4916 GB, free: 15.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2759, allocations: 0 / 0.4916 GB, free: 15.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.2762, allocations: 66.31 kB / 0.4917 GB, free: 15.35 MB / 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008707/0.2771, allocations: 0.9746 MB / 0.4926 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.2778, allocations: 361.9 kB / 0.493 GB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2778, allocations: 0 / 0.493 GB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.2782, allocations: 257 kB / 0.4932 GB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.2784, allocations: 22.91 kB / 0.4932 GB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.2811, allocations: 2.374 MB / 0.4955 GB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2812, allocations: 0.7265 MB / 0.4963 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.83e-05/0.2813, allocations: 14.08 kB / 0.4963 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.2813, allocations: 48.19 kB / 0.4963 GB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2813, allocations: 0 / 0.4963 GB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.311, allocations: 5.994 MB / 0.5022 GB, free: 8.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.44, allocations: 5.859 kB / 0.5022 GB, free: 8.375 MB / 366.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.880537714343518] Failed to read output from testmodel.py, exit status != 0: 11.528662901837379 11.548944531 11.282770695 Calling exit ...