Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.0008111/0.0008111, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008897/0.0008897, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.892/0.892, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2344/0.2344, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.756e-05, allocations: 4.109 kB / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005644/0.005671, allocations: 6.281 MB / 436.5 MB, free: 7.312 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.008882, allocations: 1.931 MB / 438.4 MB, free: 5.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.009237, allocations: 35.69 kB / 438.4 MB, free: 5.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.01028, allocations: 0.7032 MB / 439.1 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.01133, allocations: 0.5944 MB / 439.7 MB, free: 4.039 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.01187, allocations: 259.2 kB / 440 MB, free: 3.785 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.01269, allocations: 1.168 MB / 441.2 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.0132, allocations: 485.5 kB / 441.6 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006889/0.01389, allocations: 0.6971 MB / 442.3 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.01447, allocations: 0.5844 MB / 442.9 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.01454, allocations: 71.98 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.01494, allocations: 275.6 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.01524, allocations: 0.4987 MB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.164/0.1792, allocations: 345.2 kB / 444.1 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008957/0.1801, allocations: 1.194 MB / 445.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1801, allocations: 5.375 kB / 445.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1801, allocations: 0 / 445.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1801, allocations: 3.062 kB / 445.3 MB, free: 44.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00109/0.1812, allocations: 1.143 MB / 446.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1812, allocations: 17.23 kB / 446.5 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.1813, allocations: 146.6 kB / 446.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.1818, allocations: 168.7 kB / 446.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.1824, allocations: 0.5493 MB / 447.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.1825, allocations: 73.78 kB / 447.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.1826, allocations: 99.44 kB / 447.5 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009008/0.1835, allocations: 1.157 MB / 448.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.1835, allocations: 15.52 kB / 448.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.1836, allocations: 36.53 kB / 448.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.564e-05/0.1837, allocations: 78.66 kB / 448.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008974/0.1845, allocations: 0.9979 MB / 449.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.1871, allocations: 3.877 MB / 453.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.1877, allocations: 0.5851 MB / 454.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.188, allocations: 283 kB / 454.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.188, allocations: 7.062 kB / 454.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.188, allocations: 45.64 kB / 454.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.894e-06/0.188, allocations: 0 / 454.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001638/0.1897, allocations: 1.686 MB / 456.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1897, allocations: 88.55 kB / 456.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.19, allocations: 0.5582 MB / 456.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.19, allocations: 41.11 kB / 456.9 MB, free: 40.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1902, allocations: 454 kB / 457.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.1903, allocations: 224.2 kB / 457.6 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1904, allocations: 185 kB / 457.8 MB, free: 39.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.1904, allocations: 382.2 kB / 458.1 MB, free: 39.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.1907, allocations: 292.4 kB / 458.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.191, allocations: 0.6132 MB / 459 MB, free: 38.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.1917, allocations: 0.97 MB / 460 MB, free: 37.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1917, allocations: 7.219 kB / 460 MB, free: 37.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001168/0.1929, allocations: 1.17 MB / 461.2 MB, free: 37.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1929, allocations: 15.31 kB / 461.2 MB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007169/0.1936, allocations: 0.7044 MB / 461.9 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.194, allocations: 223.5 kB / 462.1 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.1944, allocations: 214.9 kB / 462.3 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.1967, allocations: 5.04 MB / 467.4 MB, free: 32.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.1971, allocations: 28.22 kB / 467.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.1971, allocations: 46.62 kB / 467.4 MB, free: 32.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003504/0.1975, allocations: 344 kB / 467.8 MB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.1975, allocations: 75.55 kB / 467.9 MB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.1981, allocations: 0.6551 MB / 468.5 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1981, allocations: 9.094 kB / 468.5 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1981, allocations: 0 / 468.5 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1982, allocations: 7.5 kB / 468.5 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.1995, allocations: 1.454 MB / 470 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1995, allocations: 3.938 kB / 470 MB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.1999, allocations: 171.7 kB / 470.1 MB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1999, allocations: 7.859 kB / 470.2 MB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.1999, allocations: 17.19 kB / 470.2 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1999, allocations: 6.781 kB / 470.2 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1999, allocations: 3.125 kB / 470.2 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008208/0.2008, allocations: 1.022 MB / 471.2 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.2009, allocations: 109.8 kB / 471.3 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.201, allocations: 14.69 kB / 471.3 MB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2011, allocations: 18 kB / 471.3 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.2012, allocations: 52.12 kB / 471.4 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.2012, allocations: 17.19 kB / 471.4 MB, free: 31.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.2014, allocations: 362.7 kB / 471.8 MB, free: 31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2014, allocations: 0 / 471.8 MB, free: 31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.202, allocations: 219.8 kB / 472 MB, free: 30.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000956/0.2029, allocations: 1.597 MB / 473.6 MB, free: 29.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009769/0.2039, allocations: 1.072 MB / 474.6 MB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2039, allocations: 0 / 474.6 MB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.2042, allocations: 295.5 kB / 474.9 MB, free: 29.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.2047, allocations: 158.9 kB / 475.1 MB, free: 29.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.21, allocations: 7.013 MB / 482.1 MB, free: 25.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.2103, allocations: 477.8 kB / 482.6 MB, free: 25.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.2107, allocations: 234.4 kB / 482.8 MB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.2109, allocations: 305.5 kB / 483.1 MB, free: 24.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.211, allocations: 0 / 483.1 MB, free: 24.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.2459, allocations: 16.68 MB / 499.8 MB, free: 22.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.356, allocations: 3.5 kB / 499.8 MB, free: 22.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.235062579624355] Failed to read output from testmodel.py, exit status != 0: 7.450726572424173 7.459892818 7.278202395 Calling exit ...