Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001703/0.001703, allocations: 108.8 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.002012/0.002012, 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.05264/0.05264, allocations: 8.221 MB / 311.6 MB, free: 2.145 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 71.86 kB / 434 MB, free: 11.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2729, allocations: 54.36 MB / 488.3 MB, free: 27.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002208/0.2751, allocations: 1.16 MB / 489.5 MB, free: 26.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2767, allocations: 1.455 MB / 490.9 MB, free: 25.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.2768, allocations: 6.938 kB / 490.9 MB, free: 25.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.2771, allocations: 100.9 kB / 491 MB, free: 25.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.2773, allocations: 67.75 kB / 491.1 MB, free: 25.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.2785, allocations: 0.7628 MB / 491.9 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.2787, allocations: 133.2 kB / 492 MB, free: 24.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2789, allocations: 36.95 kB / 492 MB, free: 24.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.2789, allocations: 61.34 kB / 492.1 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.279, allocations: 74.77 kB / 492.2 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.279, allocations: 10.34 kB / 492.2 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.2793, allocations: 154.5 kB / 492.3 MB, free: 24.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.2793, allocations: 35.62 kB / 492.4 MB, free: 24.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.2794, allocations: 59.73 kB / 492.4 MB, free: 24.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.2797, allocations: 272.4 kB / 492.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2797, allocations: 3.984 kB / 492.7 MB, free: 24.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2797, allocations: 1.375 kB / 492.7 MB, free: 24.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2797, allocations: 0 / 492.7 MB, free: 24.17 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.001338/0.2811, allocations: 0.5872 MB / 493.3 MB, free: 23.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2811, allocations: 13.48 kB / 493.3 MB, free: 23.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.2812, allocations: 49.48 kB / 493.3 MB, free: 23.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2812, allocations: 17.09 kB / 493.4 MB, free: 23.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.2814, allocations: 213.7 kB / 493.6 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2814, allocations: 10.11 kB / 493.6 MB, free: 23.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.2814, allocations: 12.53 kB / 493.6 MB, free: 23.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.2817, allocations: 170 kB / 493.7 MB, free: 23.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2817, allocations: 5.062 kB / 493.8 MB, free: 23.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.2817, allocations: 5.094 kB / 493.8 MB, free: 23.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2817, allocations: 2.812 kB / 493.8 MB, free: 23.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.282, allocations: 152 kB / 493.9 MB, free: 23.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.2827, allocations: 0.5556 MB / 494.5 MB, free: 22.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.283, allocations: 156.4 kB / 494.6 MB, free: 22.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2831, allocations: 64.06 kB / 494.7 MB, free: 22.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.2831, allocations: 6.766 kB / 494.7 MB, free: 22.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2832, allocations: 32.22 kB / 494.7 MB, free: 22.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.2832, allocations: 3.938 kB / 494.7 MB, free: 22.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009189/0.2841, allocations: 389.6 kB / 495.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.2841, allocations: 52.69 kB / 495.2 MB, free: 22.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2843, allocations: 161.5 kB / 495.3 MB, free: 21.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2843, allocations: 31.08 kB / 495.3 MB, free: 21.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.2843, allocations: 121.8 kB / 495.5 MB, free: 21.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.2843, allocations: 54.47 kB / 495.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.2844, allocations: 40.83 kB / 495.6 MB, free: 21.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.2845, allocations: 321.6 kB / 495.9 MB, free: 21.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2846, allocations: 93.16 kB / 496 MB, free: 21.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2847, allocations: 99.53 kB / 496.1 MB, free: 21.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.285, allocations: 189.3 kB / 496.2 MB, free: 21.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.285, allocations: 0 / 496.2 MB, free: 21.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004949/0.2855, allocations: 300.3 kB / 496.5 MB, free: 21.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2855, allocations: 5.5 kB / 496.5 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2855, allocations: 7.922 kB / 496.5 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.2858, allocations: 53.7 kB / 496.6 MB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2859, allocations: 36.34 kB / 496.6 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.287, allocations: 1.548 MB / 498.2 MB, free: 19.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2871, allocations: 18.56 kB / 498.2 MB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2872, allocations: 5.906 kB / 498.2 MB, free: 19.43 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.034e-05/0.2872, allocations: 128.7 kB / 498.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.2873, allocations: 8.578 kB / 498.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.2877, allocations: 240.5 kB / 498.6 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.2877, allocations: 6.188 kB / 498.6 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2877, allocations: 0 / 498.6 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2877, allocations: 1.094 kB / 498.6 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.2879, allocations: 266.1 kB / 498.8 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2879, allocations: 5.062 kB / 498.8 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.288, allocations: 22.11 kB / 498.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.2882, allocations: 45.2 kB / 498.9 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2882, allocations: 9.047 kB / 498.9 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009371/0.2891, allocations: 1.539 MB / 0.4887 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2891, allocations: 0.9688 kB / 0.4887 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.2895, allocations: 302.2 kB / 0.489 GB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2896, allocations: 92.48 kB / 0.4891 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.2896, allocations: 12.94 kB / 0.4891 GB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.2897, allocations: 9.062 kB / 0.4891 GB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.2897, allocations: 9.078 kB / 0.4891 GB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.2897, allocations: 7.125 kB / 0.4891 GB, free: 16.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.01e-05/0.2898, allocations: 132.6 kB / 0.4893 GB, free: 16.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2898, allocations: 0 / 0.4893 GB, free: 16.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.2901, allocations: 55.39 kB / 0.4893 GB, free: 16.79 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006292/0.2908, allocations: 0.8537 MB / 0.4902 GB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005835/0.2914, allocations: 316.7 kB / 0.4905 GB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2914, allocations: 0 / 0.4905 GB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.2917, allocations: 194.4 kB / 0.4906 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.2919, allocations: 6.656 kB / 0.4907 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.2941, allocations: 2.079 MB / 0.4927 GB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2942, allocations: 0.7166 MB / 0.4934 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.23e-05/0.2943, allocations: 17.62 kB / 0.4934 GB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.2943, allocations: 38.14 kB / 0.4934 GB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2943, allocations: 0 / 0.4934 GB, free: 13.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3227, allocations: 3.904 MB / 0.4972 GB, free: 11.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.398/9.72, allocations: 5.328 kB / 0.4973 GB, free: 11.17 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.126068972051144] Failed to read output from testmodel.py, exit status != 0: 9.801936151925474 9.82009265 9.53725051 Calling exit ...