Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001358/0.001358, allocations: 112 kB / 20.43 MB, free: 1.449 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.001531/0.001531, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.485/1.485, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.1851/0.1851, allocations: 38.55 MB / 346.3 MB, free: 2.082 MB / 270.1 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.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: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 71.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4362, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01329/0.4495, allocations: 11.28 MB / 0.544 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.4643, allocations: 7.141 MB / 0.551 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.4662, allocations: 68.22 kB / 0.5511 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02923/0.4954, allocations: 14.42 MB / 0.5652 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.5, allocations: 1.143 MB / 0.5663 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.5033, allocations: 0.7057 MB / 0.567 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01083/0.5141, allocations: 4.192 MB / 0.571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.5168, allocations: 0.7158 MB / 0.5717 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.5203, allocations: 1.148 MB / 0.5729 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.5241, allocations: 1.561 MB / 0.5744 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007909/0.5249, allocations: 152 kB / 0.5745 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.5274, allocations: 0.5812 MB / 0.5751 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.529, allocations: 0.9232 MB / 0.576 GB, free: 36 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.5317, allocations: 0.9836 MB / 0.577 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.5366, allocations: 2.565 MB / 0.5795 GB, free: 12.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5366, allocations: 0 / 0.5795 GB, free: 12.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5366, allocations: 4 kB / 0.5795 GB, free: 12.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.94e-05/0.5367, allocations: 0 / 0.5795 GB, free: 12.46 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.006233/0.5429, allocations: 2.201 MB / 0.5816 GB, free: 10.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.543, allocations: 12.03 kB / 0.5816 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.5449, allocations: 343.3 kB / 0.582 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.5482, allocations: 1.24 MB / 0.5832 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.5484, allocations: 106.7 kB / 0.5833 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006457/0.549, allocations: 239.7 kB / 0.5835 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003954/0.553, allocations: 2.184 MB / 0.5856 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/0.553, allocations: 15.88 kB / 0.5857 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.5532, allocations: 59.97 kB / 0.5857 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007163/0.5539, allocations: 186.8 kB / 0.5859 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.5574, allocations: 1.838 MB / 0.5877 GB, free: 3.859 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.5725, allocations: 8.414 MB / 0.5959 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.5753, allocations: 1.38 MB / 0.5973 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.5768, allocations: 0.7551 MB / 0.598 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.417e-05/0.5769, allocations: 21.36 kB / 0.598 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.5769, allocations: 51.81 kB / 0.5981 GB, free: 8.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 5.1e-06/0.5769, allocations: 4 kB / 0.5981 GB, free: 8.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02667/0.6036, allocations: 8.495 MB / 0.6064 GB, free: 268 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.6037, allocations: 98.36 kB / 0.6065 GB, free: 148 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.6054, allocations: 1.075 MB / 0.6075 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.6056, allocations: 49.7 kB / 0.6075 GB, free: 15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/0.6063, allocations: 0.8054 MB / 0.6083 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007406/0.607, allocations: 0.6198 MB / 0.6089 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006332/0.6077, allocations: 351.4 kB / 0.6093 GB, free: 13.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6079, allocations: 305.1 kB / 0.6096 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.6094, allocations: 0.8472 MB / 0.6104 GB, free: 12.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.6114, allocations: 1.344 MB / 0.6117 GB, free: 10.51 MB / 462.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/0.6262, allocations: 5.187 MB / 0.6168 GB, free: 5.152 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/0.6263, allocations: 4 kB / 0.6168 GB, free: 5.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01011/0.6364, allocations: 3.988 MB / 0.6207 GB, free: 1.129 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.6364, allocations: 12 kB / 0.6207 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/0.6365, allocations: 19.98 kB / 0.6207 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005003/0.6415, allocations: 1.609 MB / 0.6223 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.643, allocations: 315.5 kB / 0.6226 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03264/0.6756, allocations: 20.28 MB / 0.6424 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.6776, allocations: 91.92 kB / 0.6425 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.6777, allocations: 83.94 kB / 0.6425 GB, free: 9.988 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001145/0.6789, allocations: 0.5486 MB / 0.6431 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.6793, allocations: 163 kB / 0.6432 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/0.6847, allocations: 2.481 MB / 0.6457 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.6848, allocations: 19.98 kB / 0.6457 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.6848, allocations: 12 kB / 0.6457 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.6848, allocations: 7.969 kB / 0.6457 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00974/0.6945, allocations: 4.484 MB / 0.6501 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.6945, allocations: 4 kB / 0.6501 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.6963, allocations: 339.9 kB / 0.6504 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.6979, allocations: 497.6 kB / 0.6509 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.6981, allocations: 55.97 kB / 0.6509 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/0.7114, allocations: 12.03 MB / 0.6627 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.7114, allocations: 7.984 kB / 0.6627 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007239/0.7187, allocations: 3.416 MB / 0.666 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.7197, allocations: 302.7 kB / 0.6663 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.72, allocations: 51.92 kB / 0.6664 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/0.7209, allocations: 75.92 kB / 0.6664 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/0.7213, allocations: 125 kB / 0.6666 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.7214, allocations: 51.98 kB / 0.6666 GB, free: 308 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001345/0.7228, allocations: 0.71 MB / 0.6673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7228, allocations: 0 / 0.6673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002567/0.7254, allocations: 0.5975 MB / 0.6679 GB, free: 14.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],PI.x) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005038/0.7259, allocations: 195 kB / 0.6681 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008045/0.7339, allocations: 3.374 MB / 0.6714 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.7339, allocations: 0 / 0.6714 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003717/0.7376, allocations: 1.838 MB / 0.6732 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.7402, allocations: 347 kB / 0.6735 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.7517, allocations: 5.374 MB / 0.6787 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.7535, allocations: 1.637 MB / 0.6803 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001478/0.755, allocations: 441.3 kB / 0.6808 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.7554, allocations: 115.4 kB / 0.6809 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/0.7554, allocations: 0 / 0.6809 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of Templates: time 0.06967/0.8251, allocations: 34.48 MB / 0.7145 GB, free: 15.11 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.815634677186608] Failed to read output from testmodel.py, exit status != 0: 0.8370538707822561 0.852481076 0.31213230299999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1968dbd7b0>